@Test
public void getInt() throws ConnectionException, IOException {

  int value = 10;
  doReturn(value).when(streamReader).readInt();
  doReturn(RedisBytes.COLON_BYTE).when(streamReader).readByte();
  int actualValue = commandResult.getInt();
  assertEquals(value, actualValue);
}