List of usage examples for org.springframework.beans.factory.config ConstructorArgumentValues getArgumentValue
@Nullable public ValueHolder getArgumentValue(int index, Class<?> requiredType)
From source file:org.springmodules.cache.config.ConfigAssert.java
public static void assertBeanDefinitionHasConstructorArgument(Object expectedArgument, ConstructorArgumentValues argumentValues, int index, Class argumentType) { String message = "<Constructor argument with index [" + index + "]"; ValueHolder argumentValue = argumentValues.getArgumentValue(index, argumentType); assertEquals(message, expectedArgument, argumentValue.getValue()); }