	@Test
	public void testMessageNSettingProcessUnit() {

		final Application theApplication = Factories.APPLICATION.findByName("net.violet.webradio.U105");
		Factories.APPLICATION_SETTING.create(theApplication, "url", "webradioUrl");
		final Subscription theSubscription = new SubscriptionMock(1, theApplication, getKowalskyObject());
		final CCalendar theDeliveryDate = new CCalendar(false);
		theDeliveryDate.addMillis(3600000L);

		final SubscriptionData theSubscriptionData = SubscriptionData.getData(theSubscription);
		final SubscriptionSchedulingData theScheduling = SubscriptionSchedulingData.create(theSubscriptionData, SchedulingType.SCHEDULING_TYPE.DailyWithDuration);
		theScheduling.createSetting(DailyHandler.Weekday.THURSDAY.getValue(), "10:30:00");
		final SubscriptionSchedulingSettingsData theSchedulingSetting = theScheduling.createSetting(DailyHandler.Weekday.THURSDAY.getValue(), "10:30:00");
		theScheduling.createSetting(DailyHandler.Weekday.THURSDAY.getValue() + DailyWithDurationHandler.DURATION_SUFFIXE, "113233313");

		final MessageNSettingProcessUnit theMessage = new MessageNSettingProcessUnit(theSchedulingSetting, theScheduling, null, null) {

			@Override
			public void runWhenSuccessful() {

			}
		};
		final AbstractMessageFactory theWrFactory = AbstractMessageFactory.getFactoryByApplication(Factories.APPLICATION.findByName("net.violet.webradio.U105"));

		Assert.assertEquals(2, theWrFactory.getMessage(theMessage).size());
	}