Пример #1
0
 /**
  * @test
  */
 public function sectionWithoutDefaultValueReturnsEmptyArrayIfSectionDoesNotExist()
 {
     assertEmptyArray($this->properties->section('doesNotExist'));
 }
 /**
  * @test
  */
 public function returnsEmptyListOfAllResourceUrisForNonExistingFile()
 {
     assertEmptyArray($this->resourceLoader->availableResourceUris('doesnot.exist'));
 }
Пример #3
0
 /**
  * @test
  */
 public function listOfSourcePathesIsEmptyIfNoAutoloaderPresent()
 {
     assertEmptyArray(Rootpath::castFrom(__DIR__)->sourcePathes());
 }
Пример #4
0
 /**
  * @test
  */
 public function returnsEmptyListIfNoneOfThisTypeAdded()
 {
     assertEmptyArray($this->annotations->named('foo'));
 }