Search in sources :

Example 1 with EmptySubscription

use of reactor.core.publisher.Operators.EmptySubscription in project reactor-core by reactor.

the class OperatorsTest method scanEmptySubscription.

@Test
public void scanEmptySubscription() {
    EmptySubscription test = EmptySubscription.INSTANCE;
    assertThat(test.scan(Scannable.Attr.TERMINATED)).isTrue();
}
Also used : EmptySubscription(reactor.core.publisher.Operators.EmptySubscription) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 EmptySubscription (reactor.core.publisher.Operators.EmptySubscription)1