### Question:
MongoDbAuthorityRepository implements AuthorityRepository { public HydratingConverterFactory getConverter() { return converter; }  @Override Authority getByAuthority(String authorityName); @Override List<Authority> getAll(); @Override List<Authority> getLimitedList(int offset, int limit); @Override List<Authority> getAllDefault(); @Override int getCountAll(); @Override Class<? extends Authority> getType(); @Override Authority get(String id); @Override Authority save(Authority item); @Override void delete(Authority item); void setTemplate(MongoOperations template); void setConverter(HydratingConverterFactory converter); MongoOperations getTemplate(); HydratingConverterFactory getConverter(); static final Class<MongoDbAuthority> CLASS; }### Answer:
@Test public void getConverter(){ HydratingConverterFactory converter1; converter1 = repo.getConverter(); assertThat(converter1, is(sameInstance(converter))); }