public function testReturnRandomLine() { $fileFakeGenerator = new FileFakeGenerator(); $fileFakeGenerator->setCaller(new FileFake(__DIR__ . '/../Fixtures/file.txt')); $generatedString = $fileFakeGenerator->generate(); $this->assertNotNull($generatedString); $this->assertInternalType('string', $generatedString); }
public function testReturnRandomLine() { $FileFakeGenerator = new FileFakeGenerator(); $FileFakeGenerator->setCaller(new FileFake('Surname')); $generatedString = $FileFakeGenerator->generate(); $this->assertNotNull($generatedString); $this->assertInternalType('string', $generatedString); }