@Test
void writeSingleByteGrows() {

    int written1 = 10;
    int written2 = 20;
    tested.write(written1);
    tested.write(written2);
    assertThat(tested.buffer).hasSize(2);
    assertThat(tested.buffer).containsExactly(written1, written2);
}