### Question:
MongoDbOauthConsumerStoreRepository implements OAuthConsumerStoreRepository { @Override public Class<? extends OAuthConsumerStore> getType() { return CLASS; }  @Override OAuthConsumerStore findByUriAndServiceName(String gadgetUri, String serviceName); @Override Class<? extends OAuthConsumerStore> getType(); @Override OAuthConsumerStore get(String id); @Override OAuthConsumerStore save(OAuthConsumerStore item); @Override void delete(OAuthConsumerStore item); @Override List<OAuthConsumerStore> getAll(); @Override List<OAuthConsumerStore> getLimitedList(int offset, int limit); @Override int getCountAll(); void setTemplate(MongoOperations template); static final Class<OAuthConsumerStoreImpl> CLASS; }### Answer:
@Test public void getType_Valid() { assertThat((Class<OAuthConsumerStoreImpl>) oauthConsumerStoreRepository.getType(), is(equalTo(OAuthConsumerStoreImpl.class))); }