assertConstructorValid

public void assertConstructorValid(Constructor<T> constructor, int accessModifier, ArrayList<ParameterMatcher> parameters)(source)
public void assertConstructorValid(Constructor<T> constructor, int accessModifier, Array<ParameterMatcher> parameters)(source)

Tests whether a constructor was declared correctly.

Parameters

constructor

the constructor to check

accessModifier

the expected access modifier count

parameters

the expected parameters of the constructor