SafeLdapFilter { public Object[] getArguments() { return _arguments.toArray(); } protected  SafeLdapFilter(StringBundler filterSB, List<Object> arguments); SafeLdapFilter and(SafeLdapFilter... safeLdapFilters); Object[] getArguments(); String getFilterString(); SafeLdapFilter not(); SafeLdapFilter or(SafeLdapFilter... safeLdapFilters); @Override String toString();  }
@Test public void testGetArguments() { Object[] arguments = {new Object()}; SafeLdapFilter safeLdapFilter = new SafeLdapFilter( new StringBundler(), Arrays.asList(arguments)); Assert.assertArrayEquals(arguments, safeLdapFilter.getArguments()); }