public function testRealpath() { $appendedDirectory = '/test/directory'; $result = $this->service->realpath($appendedDirectory); $this->assertEquals('/opt/appserver/test/directory', $result); }