public function testCanSetMultipleOptionsViaSetOptionsMethod() { $gasp = new Run(); $task = new Lint(); $task->setOptions(['gasp' => $gasp, 'paths' => [__DIR__]]); $this->assertEquals([__DIR__], $task->getPaths()); }
public function testCanSetMultiplePathsViaSetPathsMethod() { $this->lint->setPaths([__DIR__, '/etc/']); $this->assertEquals([__DIR__, '/etc/'], $this->lint->getPaths()); }