{
ExecTool main = newExecTool();
main.parseArgs(new String[]{"-p", TEST_EXEC_TOOL_PROJECT, "-X", "homestar", "-I", "os-name=Testux"});
Map exmap = main.parseExcludeArgs(nodeKeys);
Map incmap = main.parseIncludeArgs(nodeKeys);
NodeSet nodeset = main.createNodeSet(incmap, exmap);
assertTrue(nodeset.getExclude().isDominant());
assertFalse(nodeset.getInclude().isDominant());
final Collection c = main.filterNodes().getNodes();
assertEquals("wrong size", 1, c.size());
final String result = new ExecTool.DefaultNodeFormatter().formatResults(c).toString();
assertNotNull(result);
assertEquals("doesn't contain correct result", "cheat", result);