demery-pivotal commented on a change in pull request #7259:
URL: https://github.com/apache/geode/pull/7259#discussion_r782581145
##########
File path:
geode-core/src/test/java/org/apache/geode/internal/cache/ha/QueueSynchronizationProcessorTest.java
##########
@@ -138,6 +138,18 @@ public void getDispatchedEventsReturnsNullIfQueueIsNull() {
assertThat(message.getDispatchedEvents(cache)).isNull();
}
+ @Test
+ public void getDispatchedEventsReturnsNullIfQueueNotInitialized() {
+ message = spy(new
QueueSynchronizationProcessor.QueueSynchronizationMessage());
Review comment:
Why does this test need a spy here?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]