@Test
	public void testInexistentNestedPath() {

		Resource notFound = loader.getResource("/foo/bar.jar");
		assertThat(notFound.exists(), equalTo(false));
		assertThat(notFound.getFilename(), equalTo("bar.jar"));
		try {
			notFound.getFile();
			fail();
		}
		catch (IOException expected) {

		}
		try {
			notFound.getURI();
			fail();
		}
		catch (IOException expected) {

		}
		try {
			notFound.getURL();
			fail();
		}
		catch (IOException expected) {

		}
		try {
			notFound.getInputStream();
			fail();
		}
		catch (IOException expected) {

		}
	}
Tests for ArchiveResourceLoader and NestedArchiveResource.

@author Eric Bottard
spring-xd-module/src/test/java/org/springframework/xd/module/support/ArchiveResourceLoaderTests.java