@Test(expected = JsonReadException.class)
public void should_throw_json_read_exception_when_loaded_file_is_not_valid_json() throws Exception {

    write(widgetDirectory.resolve("wrongjson.json"), "notJson".getBytes());
    widgetLoader.load(widgetDirectory.resolve("wrongjson.json"));
}