/**
  * @expectedException \RuntimeException
  */
 public function testSetAndIsInterface()
 {
     $code = new PhpClass();
     $code->setIsInterface();
     $this->assertTrue($code->isInterface());
     $code->setIsAbstract();
 }