We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c1f62b commit cb46ef8Copy full SHA for cb46ef8
spring-core/src/test/java/org/springframework/core/ResolvableTypeTests.java
@@ -770,6 +770,7 @@ public void resolveTypeVariableFromTypeWithVariableResolver() throws Exception {
770
@Test
771
public void resolveTypeWithCustomVariableResolver() throws Exception {
772
VariableResolver variableResolver = mock(VariableResolver.class);
773
+ given(variableResolver.getSource()).willReturn(this);
774
ResolvableType longType = ResolvableType.forClass(Long.class);
775
given(variableResolver.resolveVariable((TypeVariable<?>) anyObject())).willReturn(longType);
776
0 commit comments