@Test
void loadNotExistedFile() {

    assertThatThrownBy(() -> properties.load("not-existed-property.properties"))
            .isInstanceOf(Error.class)
            .hasMessageContaining("can not load");
}