@Test public void testGetDomainClass() throws Exception { assertThat(toHelper.getDomainClass(SimpleClassNameTo.class)).isEqualTo(SimpleClassDomain.class); assertThat(toHelper.getDomainClass(SimpleClassTypeTo.class)).isEqualTo(SimpleClassDomain.class); }
public Class<?> getDomainClass(Class<?> toClass) { Class<?> declaredClass = getDeclaredDomainClass(toClass); return classReplacer.replaceClass(declaredClass); }
ToHelper { public Class<?> getDomainClass(Class<?> toClass) { Class<?> declaredClass = getDeclaredDomainClass(toClass); return classReplacer.replaceClass(declaredClass); } }
ToHelper { public Class<?> getDomainClass(Class<?> toClass) { Class<?> declaredClass = getDeclaredDomainClass(toClass); return classReplacer.replaceClass(declaredClass); }  }
ToHelper { public Class<?> getDomainClass(Class<?> toClass) { Class<?> declaredClass = getDeclaredDomainClass(toClass); return classReplacer.replaceClass(declaredClass); }  void setClassReplacer(ClassReplacer classReplacer); boolean isTo(Object object); boolean isToClass(Class<?> toClass); Class<?> getDomainClass(Class<?> toClass); Class<?> getToSubType(Class<?> toType, Object domainObject); }
ToHelper { public Class<?> getDomainClass(Class<?> toClass) { Class<?> declaredClass = getDeclaredDomainClass(toClass); return classReplacer.replaceClass(declaredClass); }  void setClassReplacer(ClassReplacer classReplacer); boolean isTo(Object object); boolean isToClass(Class<?> toClass); Class<?> getDomainClass(Class<?> toClass); Class<?> getToSubType(Class<?> toType, Object domainObject);  }