public function testListAllClasses() { $this->tester->execute(array('command' => $this->command->getName())); $this->assertContains('Doctrine\\Tests\\Models\\Cache\\AttractionInfo', $this->tester->getDisplay()); $this->assertContains('Doctrine\\Tests\\Models\\Cache\\City', $this->tester->getDisplay()); }
/** * @expectedException \InvalidArgumentException * @expectedExceptionMessage Could not find any mapped Entity classes matching "AttractionFooBar" */ public function testShowSpecificNotFound() { $this->tester->execute(array('command' => $this->command->getName(), 'entityName' => 'AttractionFooBar')); }