/** * @expectedException \InvalidArgumentException */ public function testSetNodeModulesPathWithoutTrailingSlash() { $server = new TestServer(); $server->setNodeModulesPath('../..'); }