Fix test following ResolvableType hashcode change

This commit is contained in:
Phillip Webb
2013-12-02 16:54:35 -08:00
parent 6c1f62b19d
commit cb46ef86c6

View File

@@ -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);