    @Test
    public void disableAll() throws Exception {

        final ArrayList<NotificationSetting> list = new ArrayList<>(1);
        list.add(create(true));
        list.add(create(true));
        list.add(create(true));

        notificationSettingsInteractor.notificationSettings.onNext(list);

        Sync.last(notificationSettingsInteractor.disableAll());

        for(final NotificationSetting notificationSetting : list) {
            assertThat(notificationSetting.isEnabled(), equalTo(false));
        }
    }