### Question:
MongoSplit implements ConnectorSplit { @Override @JsonProperty public List<HostAddress> getAddresses() { return addresses; } @JsonCreator  MongoSplit(@JsonProperty("addresses") List<HostAddress> addresses); @Override boolean isRemotelyAccessible(); @Override @JsonProperty List<HostAddress> getAddresses(); @Override Object getInfo();  }### Answer:
@Test public void testJsonRoundTrip() { MongoSplit expected = new MongoSplit(ImmutableList.of()); String json = codec.toJson(expected); MongoSplit actual = codec.fromJson(json); assertEquals(actual.getAddresses(), ImmutableList.of()); }