
uk.camsw.rxjava.test.dsl.subscriber.ISubscriber Maven / Gradle / Ivy
The newest version!
package uk.camsw.rxjava.test.dsl.subscriber;
import org.assertj.core.api.AbstractThrowableAssert;
import uk.camsw.rxjava.test.dsl.when.IWhen;
import java.util.List;
public interface ISubscriber {
WHEN subscribes();
WHEN unsubscribes();
// todo: waitsFor(2).events(), is nicer as can then factor in time if need to
WHEN waitsForEvents(int eventCount);
int eventCount();
U event(int index);
List events();
int completedCount();
boolean isErrored();
Class extends Throwable> errorClass();
String errorMessage();
AbstractThrowableAssert, ? extends Throwable> error(int index);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy