308309310311312313314315316317318
Object[] mocks = {command, eClass, feature, validator }; replay(mocks); validator.missingArgument(command); verify(mocks); } private void commandWithArgument(final String commandName) throws Exception {