String.class,
String.class,
Date.class
);
ParameterNameProvider defaultParameterNameProvider = TestUtil.getConfigurationUnderTest()
.getDefaultParameterNameProvider();
assertNotNull(
defaultParameterNameProvider,
"getDefaultParameterNameProvider() must not return null"
);
assertEquals(
defaultParameterNameProvider.getParameterNames( constructor ),
Arrays.asList( "arg0", "arg1", "arg2" ),
"Wrong constructor parameter names returned by default provider"
);
assertEquals(
defaultParameterNameProvider.getParameterNames( method ),
Arrays.asList( "arg0", "arg1" ),
"Wrong method parameter names returned by default provider"
);
}