### Question:
PropertiesLightblueClientConfiguration { public static LightblueClientConfiguration fromResource(String resourcePath) { return fromResource(resourcePath, Thread.currentThread().getContextClassLoader()); } private  PropertiesLightblueClientConfiguration(); static LightblueClientConfiguration fromDefault(); static LightblueClientConfiguration fromResource(String resourcePath); static LightblueClientConfiguration fromResource(String resourcePath,
                                                            ClassLoader classLoader); static LightblueClientConfiguration fromPath(Path pathToProperties); static LightblueClientConfiguration fromInputStream(InputStream propertiesStream); static LightblueClientConfiguration fromObject(Properties properties); static final String DEFAULT_CONFIG_FILE; }### Answer:
@Test public void shouldThrowMeaningfulErrorMessageIfPropertiesCantBeReadViaResource() { String bogusResource = "this.does.not.exist.properties"; exception.expect(LightblueClientConfigurationException.class); exception.expectMessage(CoreMatchers.equalTo("Could not find properties resource at " + bogusResource)); PropertiesLightblueClientConfiguration.fromResource(bogusResource); }