Use `ByteToMessageDecoderVerifier` in unit tests
From the review thread:
RedisByteDecoder
looks like a fairly complexByteToMessageDecoder
which is okay but please make use ofByteToMessageVerifier
to make sure it passes some basic tests. Example use here but there are more inswift-nio
andswift-nio-extras
. I'm pretty sure I already saw a bug related to partial incoming responses from Redis butByteToMessageVerifier
will test that automatically. Any questions regarding its use, please reach out.