### Question:
ReflectionObjectFactory implements ObjectFactory<T> { @Override public Class<? extends T> targetClass() { return this.valueClass; } ReflectionObjectFactory(Class<? extends T> valueClass, Method method); @Override Class<? extends T> targetClass(); @Override T fromString(String rawValue); @Override String toString(T value);  }### Answer:
@Test public void testTargetClass() throws Exception { assertThat((Object)sut.targetClass(),sameInstance((Object)ReflectionObjectFactoryTest.class)); }