.assertJson(getClass(), "logged_in_page.json");
}
@Test
public void logged_in_app_with_favorites() throws Exception {
MockUserSession session = MockUserSession.set().setLogin("eric").setUserId(123);
when(service.findFavoriteFilters(session)).thenReturn(Arrays.asList(
new DefaultIssueFilter().setId(6L).setName("My issues"),
new DefaultIssueFilter().setId(13L).setName("Blocker issues")
));
tester.newGetRequest("api/issue_filters", "app").execute()