@Test(expectedExceptions = PropertiesNotAvailableException.class)
public void testLoadPropertiesWhenFileNotFoundShouldThrowException() throws Exception {

    //GIVEN
    given(inputStreamFactory.createFileInputStream(configFile)).willThrow(new FileNotFoundException());
    //WHEN
    underTest.loadProperties();
    //THEN excpetion should be thrown
}