@Test
public void testDirectoryForNewResource() throws Exception {

	String resourceDirectoryNotAvailable = "src/main/another-folder";
	Resource resource = AbstractDefineResourcesMojo.findOrCreateResource(resources, resourceDirectoryNotAvailable);
	assertThat(resource.getDirectory(), is(resourceDirectoryNotAvailable));
}