### Question:
StatReaders { public static StatReader forMethod( final Method method, final Object target) { return new MethodBasedStatReader(method, target); } private  StatReaders(); static StatReader forField(final Field field, final Object target); static StatReader forStaticField(Field field); static StatReader forMethod(
      final Method method, final Object target); static StatReader forStaticMethod(Method method); static StatReader forStaticMember(Member member); static StatReader forMember(Member member, Object target); static StatReader forObject(Object object);  }### Answer:
@Test public void testInstanceMethodReader() { StatReader statReader = StatReaders.forMethod(instanceMethod, testClass); assertEquals(testClass.getInstanceFieldValue(), statReader.readStat()); testClass.instanceField++; assertEquals(testClass.getInstanceFieldValue(), statReader.readStat()); }