question: @ NotNull static Bytes < byte [ ] > expect ( @ NotNull String text ) { return expect ( wrapForRead ( text . getBytes ( StandardCharsets . ISO_8859_1 ) ) ) ; }
target:  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.