@Test
	public void testClient() throws Exception {

		// just testing that we get no exceptions
		List<ApplicationReport> applications = getYarnClient().listApplications();
		assertThat(applications, notNullValue());
	}
Tests for list applications example.

@author Janne Valkealahti
yarn/yarn/list-applications/src/test/java/org/springframework/yarn/examples/ListApplicationsTests.java