@Test
public void readUTF8StringWithNullInput() throws IOException {

    assertThatExceptionOfType(NullPointerException.class).isThrownBy(() -> DockerCloudUtils.readUTF8String(null));
    assertThatExceptionOfType(NullPointerException.class).isThrownBy(() -> DockerCloudUtils.readUTF8String(null,
            -1));
}