@NotNull static Bytes<byte[]> expect(@NotNull String text){
  return expect(wrapForRead(text.getBytes(StandardCharsets.ISO_8859_1)));
}

@ NotNull static Bytes < byte [ ] > expect ( @ NotNull String text ) { return expect ( wrapForRead ( text . getBytes ( StandardCharsets . ISO_8859_1 ) ) ) ; }
a bytes suitable for writing to for testing purposes . it checks the writes made are the expected ones . an assertionerror is thrown if unexpected data is written , an unsupportedoperationexception is thrown if a read is attempted .
