Search in sources :

Example 1 with GetUserIdsResult

use of edu.stanford.bmir.protege.web.shared.user.GetUserIdsResult in project webprotege by protegeproject.

the class GetUserIdsActionHandler_TestCase method shouldReturnUsers.

@Test
public void shouldReturnUsers() {
    GetUserIdsResult result = handler.execute(new GetUserIdsAction(), executionContext);
    ImmutableList<UserId> resultUserIds = result.getUserIds();
    assertThat(resultUserIds, containsInAnyOrder(userA, userB, userC));
}
Also used : GetUserIdsAction(edu.stanford.bmir.protege.web.shared.user.GetUserIdsAction) UserId(edu.stanford.bmir.protege.web.shared.user.UserId) GetUserIdsResult(edu.stanford.bmir.protege.web.shared.user.GetUserIdsResult) Test(org.junit.Test)

Aggregations

GetUserIdsAction (edu.stanford.bmir.protege.web.shared.user.GetUserIdsAction)1 GetUserIdsResult (edu.stanford.bmir.protege.web.shared.user.GetUserIdsResult)1 UserId (edu.stanford.bmir.protege.web.shared.user.UserId)1 Test (org.junit.Test)1