@Test
public void readUTF8StringInvalidCap() throws IOException {

    assertThatExceptionOfType(IllegalArgumentException.class).isThrownBy(() -> DockerCloudUtils.readUTF8String
            (TestInputStream.withUTF8String("hello"), -2));
}