private ApplicationContext ctx;
@Test
public void testDefaults() throws Exception {
assertTrue(ctx.containsBean("yarnAmserviceClient"));
IntegrationAppmasterServiceClientFactoryBean fb =
(IntegrationAppmasterServiceClientFactoryBean) ctx.getBean("&yarnAmserviceClient");
assertNotNull(fb);
Class<?> clazz = TestUtils.readField("serviceImpl", fb);
assertThat(clazz.getCanonicalName(), is("org.springframework.yarn.integration.ip.mind.TestServiceClient"));