mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-22 05:49:04 +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