Class<?> serviceInterface = TestUtils.readField("serviceInterface", factoryBean);
assertEquals(serviceInterface, TestOnRegionFunction.class);
Region<?, ?> r1 = context.getBean("r1", Region.class);
GemfireOnRegionFunctionTemplate template = TestUtils.readField("gemfireFunctionOperations", factoryBean);
assertSame(r1, TestUtils.readField("region", template));
}