@Test
public void testDeserializerNoData() throws IOException {

  final DataInputStream in = Mockito.mock(DataInputStream.class);
  Mockito.when(in.hasUnReadData()).thenReturn(false);
  Assert.assertEquals(0, serializer.deserializeKV(in, key, value));
}