BinaryFormater implements RegistryExtractorInjector<ByteBuffer> { @Override public Format<ByteBuffer> getFormatType() { return Format.Builtin.BINARY; }  @Override Format<ByteBuffer> getFormatType(); @Override SofaTracerSpanContext extract(ByteBuffer carrier); @Override void inject(SofaTracerSpanContext spanContext, ByteBuffer carrier);  }
@Test public void testGetFormatType() throws Exception { assertEquals(Format.Builtin.BINARY, registryExtractorInjector.getFormatType()); }