@Test
public void testIsAuthenticated() throws Exception {

  // Given
  expect(testAuthentication.isAuthenticated()).andReturn(false).once();
  replayAll();
  Authentication ambariAuthentication = new AmbariAuthentication(testAuthentication, DEFAULT_USER_ID);
  // When
  ambariAuthentication.isAuthenticated();
  // Then
  verifyAll();
}