@Test
public void testSetNewPasswordViaQueryParamsShouldFail() throws IOException {

	configuration.addConfigurationSource(SimpleSource.forTest(passwordKey, ""));
	try {
		configurationPasswordChecker.assertPasswordCorrect("");
		configuration.save(passwordKey, "", null);
		fail();
	} catch (IllegalArgumentException e) {
		assertEquals("Config key 'configuration.password' does not exist.", e.getMessage());
	}
}