Fixed failing testLookupQueryService test when mocks are not enabled. In addition, assured the tests passes with or without mocks enabled.

This commit is contained in:
John Blum
2014-05-05 09:44:17 -07:00
parent e1ba156e04
commit c15a430419

View File

@@ -184,7 +184,8 @@ public class GemfireTemplateTest {
@Test
public void testLookupQueryService() {
assertSame(simple.getRegionService().getQueryService(), template.lookupQueryService(simple));
assertSame(simple.getRegionService().getQueryService().getClass(),
template.lookupQueryService(simple).getClass());
}
@Test