@Test
public void testGetName() throws Exception {

  // Given
  Authentication authentication = new TestingAuthenticationToken("user", "password");
  Authentication ambariAuthentication = new AmbariAuthentication(authentication, DEFAULT_USER_ID);
  // When
  String name = ambariAuthentication.getName();
  // Then
  assertEquals("user", name);
}