@Test
public void testAnd() {

	SafeLdapFilter safeLdapFilter = SafeLdapFilterConstraints.eq(
		"key1", "value1");
	test(
		safeLdapFilter.and(SafeLdapFilterConstraints.eq("key2", "value2")),
		"(&(key1={0})(key2={1}))", new Object[] {"value1", "value2"});
}