assertThat(clazz.getCanonicalName(), is("org.springframework.yarn.integration.ip.mind.TestServiceClient"));
assertThat(TestUtils.readField("requestChannel", fb), instanceOf(DirectChannel.class));
assertThat(TestUtils.readField("responseChannel", fb), instanceOf(QueueChannel.class));
assertThat(TestUtils.readField("serviceClient", fb), instanceOf(TestServiceClient.class));
TestServiceClient client = (TestServiceClient) ctx.getBean("yarnAmserviceClient2");
assertNotNull(client);
assertThat(TestUtils.readField("requestChannel", client), instanceOf(DirectChannel.class));
assertThat(TestUtils.readField("responseChannel", client), instanceOf(QueueChannel.class));
}