SGF-87 - Upgrade to Spring Data Commons 1.3.0.BUILD-SNAPSHOT.

Make sure we can compile against the next major version.
This commit is contained in:
Oliver Gierke
2012-05-07 11:49:40 +02:00
parent 1c98377844
commit c5ca33d0c6
3 changed files with 9 additions and 9 deletions

View File

@@ -46,7 +46,7 @@ public class GemfireQueryMethodUnitTests {
public void detectsAnnotatedQueryCorrectly() throws Exception {
GemfireMappingContext context = new GemfireMappingContext();
when(metadata.getDomainClass()).thenReturn((Class) Person.class);
when(metadata.getDomainType()).thenReturn((Class) Person.class);
when(metadata.getReturnedDomainClass(Mockito.any(Method.class))).thenReturn((Class) Person.class);
GemfireQueryMethod method = new GemfireQueryMethod(Sample.class.getMethod("annotated"), metadata, context);