@Test
public void testGetInputStream() throws IOException {

    DownloadFingerprintsTask taskToTest = new DownloadFingerprintsTask(fingerprintManager, activity, mapServerClient, "test");
    InputStream result = taskToTest.getInputStream();
    StringWriter stringWriter = new StringWriter();
    IOUtils.copy(result, stringWriter, "UTF-8");
    String resultString = stringWriter.toString();
    assertEquals(json, resultString);
}