return strings;
}
};
{
final NodeStepResult interpreterResult = interpret.executeNodeStep(context, command, test1);
//returning null from command
assertNull(interpreterResult);
// assertEquals(context, testexec.testContext);
assertTrue(Arrays.deepEquals(strings, testexec.testCommand));
assertEquals(test1, testexec.testNode);
}
testexec.testResult = NodeExecutorResultImpl.createSuccess(test1);
{
final NodeStepResult interpreterResult = interpret.executeNodeStep(context, command, test1);
//returning null from command
assertTrue(interpreterResult.isSuccess());
assertTrue(interpreterResult instanceof NodeExecutorResult);
NodeExecutorResult result = (NodeExecutorResult) interpreterResult;
assertEquals(0, result.getResultCode());
assertEquals(test1, result.getNode());