public function testGetCanHaveBean()
 {
     $this->assertTrue(A::getCanHaveBean());
     $this->assertFalse(NoBean::getCanHaveBean());
     $this->assertTrue(ExtendsNoBean::getCanHaveBean());
 }
Esempio n. 2
0
 public static function getDefaultMetadata()
 {
     $metadata = parent::getDefaultMetadata();
     $metadata[__CLASS__] = array('members' => array('name'));
     return $metadata;
 }