public function testWatchFiles() { $this->object->addWatchFile(__DIR__ . '/fixtures/a.txt'); $this->object->addWatchFile(__DIR__ . '/fixtures/b.txt'); $this->object->addWatchFiles(array(__DIR__ . '/fixtures/c.txt')); $expected = array(__DIR__ . DIRECTORY_SEPARATOR . 'fixtures' . DIRECTORY_SEPARATOR . 'a.txt', __DIR__ . DIRECTORY_SEPARATOR . 'fixtures' . DIRECTORY_SEPARATOR . 'b.txt', __DIR__ . DIRECTORY_SEPARATOR . 'fixtures' . DIRECTORY_SEPARATOR . 'c.txt'); $this->assertEqualPaths($expected, $this->object->getWatchFiles()); }