Пример #1
0
 /**
  * @test
  * @since  3.3.1
  */
 public function annotationsPresentOnConstructor()
 {
     $annotations = annotationsOfConstructor($this->exceptionLogger);
     assertTrue($annotations->contain('Named'));
     assert($annotations->named('Named')[0]->getName(), equals('stubbles.project.path'));
 }
 /**
  * @test
  */
 public function annotationsPresent()
 {
     $annotations = annotationsOfConstructor($this->fileStreamFactory);
     assertTrue($annotations->contain('Property'));
     assert($annotations->named('Property')[0]->getName(), equals('stubbles.filemode'));
 }