@Test
public void setTestAuthentication() throws Exception {

  // Given
  testAuthentication.setAuthenticated(true);
  expectLastCall().once();
  replayAll();
  Authentication ambariAuthentication = new AmbariAuthentication(testAuthentication, DEFAULT_USER_ID);
  // When
  ambariAuthentication.setAuthenticated(true);
  // Then
  verifyAll();
}