### Question:
IgnoredMessageEncoder implements ResponseMessageEncoder<IgnoredMessage> { @Override public void encode( Neo4jPack.Packer packer, IgnoredMessage message ) throws IOException { packer.packStructHeader( 0, message.signature() ); } IgnoredMessageEncoder(); @Override void encode( Neo4jPack.Packer packer, IgnoredMessage message );  }### Answer:
@Test void shouldEncodeIgnoredMessage() throws Throwable { Neo4jPack.Packer packer = mock( Neo4jPack.Packer.class ); IgnoredMessageEncoder encoder = new IgnoredMessageEncoder(); encoder.encode( packer, IGNORED_MESSAGE ); verify( packer ).packStructHeader( anyInt(), eq( IgnoredMessage.SIGNATURE ) ); }