@Test
void writeSingleByteGrowsExponentially() {

    int written1 = 10;
    int written2 = 20;
    int written3 = 20;
    tested.write(written1);
    tested.write(written2);
    tested.write(written3);
    assertThat(tested.buffer).hasSize(4);
    assertThat(tested.count).isEqualTo(3);
    assertThat(tested.buffer).startsWith(written1, written2, written3);
}