@Test
public void testListWithout() {
final Focus action = createTestActionObject();
final ActionConfig config = ActionConfigFactory
.focusModuleAction("domain,/it");
final CommandTransformation trafo = new CommandTransformation(
"command not relevant for this test");
action.execute(trafo, config);
// Test data: "domain-it" module is first, "domain" second.
// Expected that action will discard "domain-it" because it contains
// "it", and choose "domain"
Assert.assertTrue(trafo.getOutputCommands().contains(
"module focus --moduleName domain"));
}