@Test
public void test0_NaNPurgeDelay() {

	final PurgeOldMessagesWorker worker = new PurgeOldMessagesWorker();
	final HashMap<String, Object> parameters = new HashMap<>();
	parameters.put(PurgeOldMessagesWorker.P_PURGE_AFTER_DAYS, "NaN");
	try {
		worker.setParameters(parameters);
	} catch (final Exception e) {
		fail("Worker did not accept wrong delay value");
	}
}