will(returnValue(Arrays.asList(dto1, dto2, dto3)));
}
});
PrincipalActionContext ctx = TestContextCreator.createPrincipalActionContext(null, null, PERSON_ID);
GetUserNotificationFilterPreferencesResponse result = (GetUserNotificationFilterPreferencesResponse) sut
.execute(ctx);
context.assertIsSatisfied();
assertEquals(1, result.getPreferences().size());
assertEquals(dto1, result.getPreferences().iterator().next());
assertEquals(2, result.getNotifierTypes().size());
}