예제 #1
0
 public function testArrayDefinitionHasClasses()
 {
     $this->assertTrue($this->definition->hasClass('My\\DbAdapter'));
     $this->assertTrue($this->definition->hasClass('My\\EntityA'));
     $this->assertTrue($this->definition->hasClass('My\\Mapper'));
     $this->assertTrue($this->definition->hasClass('My\\RepositoryA'));
     $this->assertTrue($this->definition->hasClass('My\\RepositoryB'));
     $this->assertFalse($this->definition->hasClass('My\\Foo'));
 }