assertParametersMatch

public static void assertParametersMatch(List<ParameterMatcher> expectedParameters, List<Parameter> actualParameters, boolean ignoreNames)(source)

Tests whether the method parameters match.

Parameters

expectedParameters

the expected parameters

actualParameters

the actual parameters

ignoreNames

the indicator whether to ignore parameter names


public static void assertParametersMatch(Method m, String methodName, List<ParameterMatcher> parameters, boolean ignoreNames)(source)

Tests whether the method parameters match.

Parameters

m

the actual method to verify

methodName

the expected name of the method

parameters

the expected parameter

ignoreNames

the indicator whether to ignore parameter names


Tests whether the method parameters matches with the expected parameters.