Change mock GatewayReceiver 'running' property to be the negation of 'manualStart'.

This commit is contained in:
John Blum
2021-09-09 10:38:36 -07:00
parent 149dcfe035
commit 74da92a993

View File

@@ -1583,7 +1583,7 @@ public abstract class GemFireMockObjectsSupport extends MockObjectsSupport {
when(mockGatewayReceiverFactory.create()).thenAnswer(invocation -> {
AtomicBoolean running = new AtomicBoolean(false);
AtomicBoolean running = new AtomicBoolean(!manualStart.get());
GatewayReceiver mockGatewayReceiver = mock(GatewayReceiver.class);