Esempio n. 1
0
File: test.php Progetto: atoum/atoum
 public function testAddMandatoryClassExtension()
 {
     $this->if($test = new notEmptyTest())->then->object($test->addMandatoryClassExtension($extension = uniqid()))->isIdenticalTo($test)->array($test->getMandatoryClassExtensions())->isEqualTo(array($extension))->object($test->addMandatoryClassExtension($otherExtension = uniqid()))->isIdenticalTo($test)->array($test->getMandatoryClassExtensions())->isEqualTo(array($extension, $otherExtension));
 }