mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Fix test following ResolvableType hashcode change
This commit is contained in:
@@ -770,6 +770,7 @@ public class ResolvableTypeTests {
|
||||
@Test
|
||||
public void resolveTypeWithCustomVariableResolver() throws Exception {
|
||||
VariableResolver variableResolver = mock(VariableResolver.class);
|
||||
given(variableResolver.getSource()).willReturn(this);
|
||||
ResolvableType longType = ResolvableType.forClass(Long.class);
|
||||
given(variableResolver.resolveVariable((TypeVariable<?>) anyObject())).willReturn(longType);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user