for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare( strict_types = 1 );
namespace Coco\SourceWatcher\Tests\Core\IO\Inputs;
use Coco\SourceWatcher\Core\IO\Inputs\FileInput;
use PHPUnit\Framework\TestCase;
class FileInputTests extends TestCase
{
public function testSetGetInput () : void
$fileInput = new FileInput();
$givenFileLocation = "/some/file/location";
$expectedFileLocation = "/some/file/location";
$fileInput->setInput( $givenFileLocation );
$this->assertEquals( $expectedFileLocation, $fileInput->getInput() );
}