@Test
public void readUTF8String() throws IOException {

    String bigText = bigAsciiText();
    TestInputStream stream = TestInputStream.withUTF8String(bigText);
    stream.mark(0);
    assertThat(DockerCloudUtils.readUTF8String(stream)).isEqualTo(bigText);
    stream.reset();
    assertThat(DockerCloudUtils.readUTF8String(stream, -1)).isEqualTo(bigText);
}