@Test
public void testGetFullFilter() {

    String filter = "(a=b)";
    String objectClass = "my.Test";
    Assert.assertEquals(filter, FilterHelper.getFullFilter(null, filter));
    Assert.assertEquals("(objectClass=my.Test)", FilterHelper.getFullFilter(objectClass, null));
    Assert.assertEquals("(&(objectClass=my.Test)(a=b))", FilterHelper.getFullFilter(objectClass, filter));
}