mockMvc = MockMvcBuilders.webAppContextSetup(wac).build();
}
@Test
public void getTeamPageOnlyShowsNotHiddenMembers() throws Exception {
MemberProfile visible = new MemberProfile();
visible.setName("First Last");
visible.setGithubUsername("someguy");
visible.setUsername("someguy");
teamRepository.save(visible);
MemberProfile hidden = new MemberProfile();
hidden.setName("Other dude");
hidden.setGithubUsername("dude");
hidden.setUsername("dude");
hidden.setHidden(true);
teamRepository.save(hidden);
mockMvc.perform(get("/team"))
.andExpect(status().isOk())