Skip to content

Extensions

Ruby Lichtenshtein edited this page Apr 12, 2018 · 6 revisions

Extensions are extension functions for each one of the reactive types that let us write our test code inside test block.

Maybe.test{
      it should <Matcher>
}
Single.test{
      it should <Matcher>
}
Observable.test{
      it should <Matcher>
}
Completable.test{
      it should <Matcher>
}
Flowable.test{
      it should <Matcher>
}
Clone this wiki locally