@@ -79,6 +79,7 @@ public void stateFlowTest1_Next() {
79
79
80
80
assertThat (processor .state ).isEqualTo (UnicastMonoProcessor .NO_REQUEST_HAS_RESULT );
81
81
82
+ assertSubscriber .assertNoEvents ();
82
83
assertSubscriber .request (1 );
83
84
84
85
assertThat (processor .state ).isEqualTo (UnicastMonoProcessor .HAS_REQUEST_HAS_RESULT );
@@ -162,6 +163,7 @@ public void stateFlowTest2_Next() {
162
163
163
164
assertThat (processor .state ).isEqualTo (UnicastMonoProcessor .NO_REQUEST_HAS_RESULT );
164
165
166
+ assertSubscriber .assertNoEvents ();
165
167
assertSubscriber .request (1 );
166
168
167
169
assertThat (processor .state ).isEqualTo (UnicastMonoProcessor .HAS_REQUEST_HAS_RESULT );
@@ -240,10 +242,12 @@ public void stateFlowTest3_Next() {
240
242
241
243
assertThat (processor .state ).isEqualTo (UnicastMonoProcessor .NO_REQUEST_NO_RESULT );
242
244
245
+ assertSubscriber .assertNoEvents ();
243
246
assertSubscriber .request (1 );
244
247
245
248
assertThat (processor .state ).isEqualTo (UnicastMonoProcessor .HAS_REQUEST_NO_RESULT );
246
249
250
+ assertSubscriber .assertNoEvents ();
247
251
processor .onNext (1 );
248
252
249
253
assertThat (processor .state ).isEqualTo (UnicastMonoProcessor .HAS_REQUEST_HAS_RESULT );
@@ -339,10 +343,12 @@ public void stateFlowTest4_Next() {
339
343
assertThat (processor .state ).isEqualTo (UnicastMonoProcessor .NO_REQUEST_NO_RESULT );
340
344
341
345
assertSubscriber .request (1 );
346
+ assertSubscriber .assertNoEvents ();
342
347
343
348
assertThat (processor .state ).isEqualTo (UnicastMonoProcessor .HAS_REQUEST_NO_RESULT );
344
349
345
350
assertSubscriber .cancel ();
351
+ assertSubscriber .assertNoEvents ();
346
352
347
353
assertThat (processor .state ).isEqualTo (UnicastMonoProcessor .CANCELLED );
348
354
@@ -374,10 +380,12 @@ public void stateFlowTest4_Error() {
374
380
assertThat (processor .state ).isEqualTo (UnicastMonoProcessor .NO_REQUEST_NO_RESULT );
375
381
376
382
assertSubscriber .request (1 );
383
+ assertSubscriber .assertNoEvents ();
377
384
378
385
assertThat (processor .state ).isEqualTo (UnicastMonoProcessor .HAS_REQUEST_NO_RESULT );
379
386
380
387
assertSubscriber .cancel ();
388
+ assertSubscriber .assertNoEvents ();
381
389
382
390
assertThat (processor .state ).isEqualTo (UnicastMonoProcessor .CANCELLED );
383
391
@@ -410,10 +418,12 @@ public void stateFlowTest4_Dispose() {
410
418
assertThat (processor .state ).isEqualTo (UnicastMonoProcessor .NO_REQUEST_NO_RESULT );
411
419
412
420
assertSubscriber .request (1 );
421
+ assertSubscriber .assertNoEvents ();
413
422
414
423
assertThat (processor .state ).isEqualTo (UnicastMonoProcessor .HAS_REQUEST_NO_RESULT );
415
424
416
425
assertSubscriber .cancel ();
426
+ assertSubscriber .assertNoEvents ();
417
427
418
428
assertThat (processor .state ).isEqualTo (UnicastMonoProcessor .CANCELLED );
419
429
@@ -444,10 +454,12 @@ public void stateFlowTest4_Complete() {
444
454
assertThat (processor .state ).isEqualTo (UnicastMonoProcessor .NO_REQUEST_NO_RESULT );
445
455
446
456
assertSubscriber .request (1 );
457
+ assertSubscriber .assertNoEvents ();
447
458
448
459
assertThat (processor .state ).isEqualTo (UnicastMonoProcessor .HAS_REQUEST_NO_RESULT );
449
460
450
461
assertSubscriber .cancel ();
462
+ assertSubscriber .assertNoEvents ();
451
463
452
464
assertThat (processor .state ).isEqualTo (UnicastMonoProcessor .CANCELLED );
453
465
0 commit comments