@Test
public void testGetPartialSuccess() throws Throwable {

  Reader mockReader1 = mock(Reader.class);
  Reader mockReader2 = mock(Reader.class);
  when(mockResourcePartitionMap.getReader(eq(RESOURCE), eq("1"))).thenReturn(mockReader1);
  when(mockResourcePartitionMap.getReader(eq(RESOURCE), eq("2"))).thenReturn(mockReader2);
  when(mockReader1.getValues(eq(KEYS_PART_1))).thenAnswer(GET_VALUES_ANSWER);
  when(mockReader2.getValues(eq(KEYS_PART_2))).thenAnswer(GET_VALUES_ANSWER);
    
  TerrapinResponse response = serverImpl.get(prepareRequest()).get();
  Map<ByteBuffer, TerrapinSingleResponse> responseMap = response.getResponseMap();
  assertEquals(8, responseMap.size());
  // Ensure that the keys arrive correctly.
  checkLookup(KEYS_PART_1, responseMap);
  checkLookup(KEYS_PART_2, responseMap);
}