@Test
public void testLocateNotExistentResource() throws MalformedURLException, URISyntaxException {

    // GIVEN
    // WHEN
    final URL resource = ResourceLocator.getResource("some.file");
    // THEN
    assertThat(resource, notNullValue());
    assertThat(new File(resource.toURI()).exists(), equalTo(Boolean.FALSE));
}