public function testCanConfigureModulePaths()
{
$hooks = new \Elgg\PluginHooksService();
$amdConfig = new \Elgg\Amd\Config($hooks);
$amdConfig->addPath('jquery', '/some/path.js');
$this->assertTrue($amdConfig->hasModule('jquery'));
$configArray = $amdConfig->getConfig();
$this->assertEquals(array('/some/path'), $configArray['paths']['jquery']);
$amdConfig->removePath('jquery', '/some/path.js');
$this->assertFalse($amdConfig->hasModule('jquery'));
}