@Test
public void testGetNotifierById() throws Exception {

    final Notifier notifier = new Notifier();
    new Expectations() {
        {
            mockCatalogService.getNotifierInfo(anyLong);times=1;
            result = notifier;
        }
    };
    Notifier result = (Notifier) resource.getNotifierById(1L, securityContext).getEntity();
    assertEquals(notifier, result);
}