public function testGetConfigFileRelativePath() { $this->context->expects($this->once())->method('getPath')->will($this->returnValue('path')); $actual = $this->object->getConfigFileRelativePath(); $this->assertSame('_requirejs/path/requirejs-config.js', $actual); }