oneOf(actionContext).getParams();
will(returnValue(streamId));
}
});
Person p = findByIdMapper.execute(new FindByIdRequest("Person", personId));
Assert.assertEquals(2, p.getBookmarks().size());
sut.execute(actionContext);
getEntityManager().clear();
p = findByIdMapper.execute(new FindByIdRequest("Person", personId));
Assert.assertEquals(1, p.getBookmarks().size());
Assert.assertEquals(2L, p.getBookmarks().get(0).getId());
context.assertIsSatisfied();
}