populate() public method

Uses the source file to populate the path provided
public populate ( $outputDir, $sourceFile )
$outputDir The directory at which the content from file is to be populated
$sourceFile The file to use for populating
Beispiel #1
0
 public function testCanPopulatePathUsingInputFile()
 {
     $scanner = new Scanner(new JsonResponse());
     $scanner->populate($this->basePathToPopulate, $this->sampleJson);
     $this->assertFileExists($this->populatedFile);
 }