@Test
void loadProperties_shouldThrowIOE_ifPropertyFileNotExist() {

  Path pluginsDirWithoutPropertyFile = Paths.get(TEST_DIRECTORY.getAbsolutePath(), "without-property-file");
  IOException exception = assertThrows(IOException.class, () -> PropertyLoader.loadProperties(pluginsDirWithoutPropertyFile.toFile()));
  assertLinesMatch(singletonList("^File '.*' not found$"), singletonList(exception.getMessage()));
}