getRewriteMaps() public method

Returns the locations.
public getRewriteMaps ( ) : array
return array
 /**
  * Checks whether the getRewriteMaps() method returns the expected result.
  *
  * @return void
  * @todo
  */
 public function testGetRewriteMaps()
 {
     // initialize the array with expected result
     $rewriteMaps = json_decode(file_get_contents(__DIR__ . '/Api/Node/_files/prepareRewriteMaps.json'));
     // create a mock configuration instance
     $mockNode = $this->getMock('AppserverIo\\Appserver\\Core\\Api\\Node\\ServerNode', array('getRewriteMapsAsArray'));
     $mockNode->expects($this->once())->method('getRewriteMapsAsArray')->will($this->returnValue($rewriteMaps));
     // initialize the server node
     $serverNode = new ServerNodeConfiguration($mockNode);
     // check the array with the rewrite maps data
     $this->assertSame($rewriteMaps, $serverNode->getRewriteMaps());
 }