@Test
public void loadPropertiesShouldCloseInputStreamEvenOnException() {

    try {
        propertyTools.loadProperties("nothing");
        fail("Should fail to load properties");
    }
    catch (final IOException e) {
        verify(ioTools).close(nullable(InputStream.class));
    }
}