}
@Test
public void helperTest() {
ReflectionHelper helper = new ReflectionHelper("count");
Assert.assertEquals(3, helper.extract("ABC"));
@SuppressWarnings("unused")
class TT {
String a = "ABC";
String[] b = {"A", "B", "C"};
}
TT t = new TT();
helper = new ReflectionHelper("a");
Assert.assertEquals("ABC", helper.extract(t));
helper = new ReflectionHelper("a.count");
Assert.assertEquals(3, helper.extract(t));
helper = new ReflectionHelper("b.length");
Assert.assertEquals(3, helper.extract(t));
}