@Test
public void shouldThrowExceptionIfSchemaNotFound() {

    expectedException.expect(SchemaLoadingException.class);
    expectedException.expectMessage("Unable to load JSON schema /json/schema/non-existent.json from classpath");
    loader.loadSchema("non-existent");
}