@Test public void testConvert() { final ModelConverter<BlockMetadata, Rpc.BlockMetadata> converter = new BlockMetadataConverterFactory().create(); final Rpc.BlockMetadata rpcBlockMetadata = Rpc.BlockMetadata.newBuilder().build(); final BlockMetadata converted = converter.convertToDomainModel(rpcBlockMetadata); assertNotNull(converted); }
public ModelConverter<BlockMetadata, Rpc.BlockMetadata> create() { return new ModelConverter<>(domainConverter, rpcConverter); }
BlockMetadataConverterFactory { public ModelConverter<BlockMetadata, Rpc.BlockMetadata> create() { return new ModelConverter<>(domainConverter, rpcConverter); } }
BlockMetadataConverterFactory { public ModelConverter<BlockMetadata, Rpc.BlockMetadata> create() { return new ModelConverter<>(domainConverter, rpcConverter); }  }
BlockMetadataConverterFactory { public ModelConverter<BlockMetadata, Rpc.BlockMetadata> create() { return new ModelConverter<>(domainConverter, rpcConverter); }  ModelConverter<BlockMetadata, Rpc.BlockMetadata> create(); }
BlockMetadataConverterFactory { public ModelConverter<BlockMetadata, Rpc.BlockMetadata> create() { return new ModelConverter<>(domainConverter, rpcConverter); }  ModelConverter<BlockMetadata, Rpc.BlockMetadata> create();  }