### Question:
BilanHandler implements ApplicationHandler { public void update(SubscriptionData subscription, Map<String, Object> settings) { }  SubscriptionData create(VObjectData object, Map<String, Object> settings); void checkSettings(VObjectData object, Map<String, Object> settings); void update(SubscriptionData subscription, Map<String, Object> settings); void delete(SubscriptionData subscription); Map<String, Object> getUISettings(SubscriptionData subscription, APICaller inApiCaller); static SubscriptionData createOrUpdateSubscription(SubscriptionData inSubscription, VObjectData inObject, String inTime, DailyHandler.Weekday inDays); String getSubscriptionInformation(SubscriptionData subscription); static final String NBR; }### Answer:
@Test public void updateTest() throws InvalidSettingException, MissingSettingException { final VObjectData object = VObjectData.getData(getKowalskyObject()); final SubscriptionData theSubscription = SubscriptionData.create(getApplication(), object, Collections.<String, Object> singletonMap(BilanHandler.NBR, "12")); ApplicationHandlerManager.updateSubscription(theSubscription, Collections.<String, Object> emptyMap()); final Map<String, Object> settings = theSubscription.getSettings(); Assert.assertEquals(1, settings.size()); Assert.assertTrue(settings.containsKey(BilanHandler.NBR)); Assert.assertEquals("12", settings.get(BilanHandler.NBR)); }