/** * Tests all possible combinations valid of arguments on the invokable (constructor or method). * <p> * This requires at least one valid argument for <b>each</b> parameter. * * @throws AssertionError * if invoking the constructor with a valid set of arguments * throws an exception */ public void testValidCombinations() { validArguments.checkAllArgumentsSet(); testArguments(validArguments.getCapturedArgumentsSets(), null); }
for (InvalidArgument invalidParam : currInvalidArgs) { argumentsLists.set(i, Collections.singleton(invalidParam)); testArguments(argumentsLists, invalidParam.getExpectedException()); oneTested = true;