@Test
public void testIntersection() {

    String crossStreetOne = "John St";
    String crossStreetTwo = "Maiden Ln";
    String borough = "Manhattan";
    String borough2 = "Manhattan";
    String compassDirection = "W";
    Mockito.when(this.geosupportServiceMock.callFunction2(crossStreetOne, borough, crossStreetTwo, borough2,
            compassDirection)).thenReturn(expectedResult);
    Map<String, Object> actualResult = this.restController.intersection(crossStreetOne, crossStreetTwo, borough,
            borough2, compassDirection);
    assertSame(expectedResult, actualResult.get(RestController.INTERSECTION_OBJ));
}