@Test
public void testCallFunction2_HD01971827() {

    // 1st call with compassDirection
    Map<String, Object> arguments = new HashMap<String, Object>();
    arguments.put(STREET_NAME, "RSD");
    arguments.put(STREET_NAME2, "W 100 ST");
    arguments.put(BOROUGH_CODE, 1);
    arguments.put(BOROUGH_CODE2, 2);
    arguments.put(COMPASS_DIRECTION, "N");
    mockFunctionCall(F2, arguments);
    Map<String, Object> actualResult = geosupportServiceImpl.callFunction2("RSD", "Manhattan", "W 100 ST", "BRONX", "N");
    verifyMocks(actualResult);
    // 2nd call without compassDirection
    Map<String, Object> arguments2 = new HashMap<String, Object>();
    arguments2.put(STREET_NAME, "RSD");
    arguments2.put(STREET_NAME2, "W 100 ST");
    arguments2.put(BOROUGH_CODE, 1);
    arguments2.put(BOROUGH_CODE2, 2);
    mockFunctionCall(F2, arguments2);
    Map<String, Object> actualResult2 = geosupportServiceImpl.callFunction2("RSD", "Manhattan", "W 100 ST", "BRONX", null);
    verifyMocks(actualResult2);
}