MessageFormatV3 implements MessageFormat { @Override public Reader newReader( PackInput input ) { return new CommonMessageReader( input ); }  @Override Writer newWriter( PackOutput output ); @Override Reader newReader( PackInput input );  }
@Test void shouldCreateCorrectReader() { MessageFormat.Reader reader = messageFormat.newReader( mock( PackInput.class ) ); assertThat( reader, instanceOf( CommonMessageReader.class ) ); }