### Question:
MongoDbPortalPreferenceConverter implements HydratingModelConverter<PortalPreference, MongoDbPortalPreference> { @Override public Class<PortalPreference> getSourceType() { return PortalPreference.class; }  @Override void hydrate(MongoDbPortalPreference dehydrated); @Override Class<PortalPreference> getSourceType(); @Override MongoDbPortalPreference convert(PortalPreference source);  }### Answer:
@Test public void getSourceType(){ assertThat(converter.getSourceType(), is(equalTo(PortalPreference.class))); }