@Test
public void testGetMissionToManifestMap() {

    final URL url = PowerMock.createMock(URL.class);
    PowerMock.mockStatic(JSONUtils.class);
    PowerMock.mockStatic(NetworkUtils.class);
    String manifest = null;
    try {
        manifest = WorkerTestUtils.readFile(ROOT_JSON_FILE);
    } catch (final IOException e1) {
        fail("Could not read file: " + ROOT_JSON_FILE);
    }
    try {
        NetworkUtils.getDataFromURL(url, null, ImageIngester.DEFAULT_CONNECT_TIMEOUT);
        PowerMock.expectLastCall().andReturn(manifest.getBytes());
        PowerMock.replayAll();
        final Map<String, String> missionMap = DynamoDBJSONRootWorker.getMissionToManifestMap(url, ImageIngester.DEFAULT_CONNECT_TIMEOUT);
        assertEquals(EXPECTED_MAP, missionMap);
    } catch (final IOException e) {
        fail(e.getMessage());
    }
}