Examples of GetUserNotificationFilterPreferencesResponse


Examples of org.eurekastreams.server.action.response.notification.GetUserNotificationFilterPreferencesResponse

                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());
    }
View Full Code Here

Examples of org.eurekastreams.server.action.response.notification.GetUserNotificationFilterPreferencesResponse

                will(returnValue(Collections.EMPTY_LIST));
            }
        });

        PrincipalActionContext ctx = TestContextCreator.createPrincipalActionContext(null, null, PERSON_ID);
        GetUserNotificationFilterPreferencesResponse result = (GetUserNotificationFilterPreferencesResponse) sut
                .execute(ctx);

        context.assertIsSatisfied();

        assertTrue(result.getPreferences().isEmpty());
        assertEquals(2, result.getNotifierTypes().size());
    }
View Full Code Here

Examples of org.eurekastreams.server.action.response.notification.GetUserNotificationFilterPreferencesResponse

            {
                list.add(dto);
            }
        }

        return new GetUserNotificationFilterPreferencesResponse(list, notifierTypes);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.