when(toadletContext.isAllowedFullAccess()).thenReturn(false);
assertThat(page.isEnabled(toadletContext), is(false));
}
@Test
public void showCreateSoneInMenuIfNotLoggedInAndClientHasFullAccess() {
when(toadletContext.isAllowedFullAccess()).thenReturn(false);
assertThat(page.isEnabled(toadletContext), is(false));
}
@Test
public void showCreateSoneInMenuIfNotLoggedInAndClientHasFullAccess() {