@Test
public void testAlternateLdapUserSearchFilterDefault() throws Exception {

  // Given
  final Properties ambariProperties = new Properties();
  final Configuration configuration = new Configuration(ambariProperties);
  // When
  String actualLdapUserSearchFilter = configuration.getLdapServerProperties().getUserSearchFilter(true);
  // Then
  Assert.assertEquals("(&(userPrincipalName={0})(objectClass=person))", actualLdapUserSearchFilter);
}