SimpleEntityResolver implements EntityResolver { @Override public String resolve(Class<?> entityClass) { return entityClass.getSimpleName(); }  @Override String resolve(Class<?> entityClass);  }
@Test public void resolve_collectionName() { assertEquals("Object", resolver.resolve(Object.class)); }