PropertiesHelper { Boolean isBlankOrNull(String key) { return StringUtils.isBlank(properties.getProperty(key)); }    }
@Test public void testIsNullProperty() { assertTrue(propertiesHelper.isBlankOrNull(INVALID_PROPERTY)); }
@Test public void testIsBlankProperty() throws IOException { final File tempFile = temporaryFolder.newFile(PROPERTIES_FILE_PATH); FileUtils.writeStringToFile(tempFile, String.format("%s=%s%n%s=%s%n", HERD_USERNAME_PROPERTY, "", HERD_PASSWORD_PROPERTY, " "), StandardCharsets.UTF_8.name()); assertTrue(propertiesHelper.isBlankOrNull(HERD_USERNAME_PROPERTY)); assertTrue(propertiesHelper.isBlankOrNull(HERD_PASSWORD_PROPERTY)); }