@Test
public void createParametersForQueryPreferences() {

    checkLsofParameters(
            "lsof -F -T +c0 +D /path1 +d /path2 -d one -d two " +
                    "-g 123 -g ^456 -g ^789 -u ^123 -u daniele -i 6TCP@localhost:123 -i 4:987 " +
                    "-p ^123 -p 456 -p ^789 -c lsof -c ^glsof -l -s -a +L 5 -n -N -P -U -S 100 -b " +
                    "-- /home/daniele /usr/lib/libXdmcp.so.6.0.0",
            _builder.build(createPreferences()));
}