Files
spring-test-data-geode/spring-data-geode-test
John Blum 5b0b4a586d Fix bug in overloaded spyOn(..) methods for o.a.g.cache.CacheFactory and o.a.g.cache.client.ClientCacheFactory object, which leads to a org.mockito.exceptions.misusing.UnfinishedStubbingException.
This problem was exposed in SSDG's test suite when mocking the ClientCache and initializing PDX.

Essentially, with use of the lazy Supplier for GemFireCache object creation, STDG was effectively stubbing on the clientCacheFactorySpy (e.g. clientCacheFatorySpy.setPdxSerializer(..)) inside of another stub call, clientCacheFactorySpy.create().
2019-08-13 15:57:04 -07:00
..
2019-07-02 20:14:20 -07:00