	@Test
	public void testGetEnvironmentServiceFailure() {

		final TestAbstractEnvironment envUnderTest = new TestAbstractEnvironment(mockStorage);
		try {
			@SuppressWarnings("unused")
			final EnvironmentService envService = envUnderTest.getEnvironmentService(null);
			fail("No exception thrown by AbstractEnvironment.getEnvironmentService(null), NullPointerException expected.");
		} catch (NullPointerException e) {

		} catch (UnavailableServiceException e) {
			fail("UnavailableServiceException exception thrown by AbstractEnvironment.getEnvironmentService(null), NullPointerException expected.");
		}
		try {
			@SuppressWarnings("unused")
			final EnvironmentService envService = envUnderTest
					.getEnvironmentService(MockEnvironmentService.class);
			fail("No exception thrown by AbstractEnvironment.getEnvironmentService(MockEnvironmentService.class), UnavailableServiceException expected.");
		} catch (UnavailableServiceException e) {
		}
	}