@Test
public void testValidXMLIndoorMap() throws NicException, IOException {

    when(clientMock.getTilemapresourceXml("myMap")).thenReturn(xml);
    ArgumentCaptor<BoundingBoxE6> boxCaptor = ArgumentCaptor.forClass(BoundingBoxE6.class);
    DownloadMapResourceTask task = new DownloadMapResourceTask(null, clientMock, "myMap", indoorMapMock, null);
    task.doInBackground();
    int z =17+DownloadMapResourceTask.MIN_ZOOM_LEVEL_PLUS;
    verify(indoorMapMock).setZoomLevels(17+DownloadMapResourceTask.MIN_ZOOM_LEVEL_PLUS, 21);
    BoundingBoxE6 boxIn = new BoundingBoxE6(50722660, 7062209, 50721409, 7060910);
    verify(indoorMapMock).setBoundingBox(boxCaptor.capture());
    BoundingBoxE6 boxOut = boxCaptor.getValue();
    assertEquals(boxIn.getLatNorthE6(), boxOut.getLatNorthE6());
    assertEquals(boxIn.getLonEastE6(), boxOut.getLonEastE6());
    assertEquals(boxIn.getLatSouthE6(), boxOut.getLatSouthE6());
    assertEquals(boxIn.getLonWestE6(), boxOut.getLonWestE6());
}