-
Notifications
You must be signed in to change notification settings - Fork 110
Closed
Description
Looking at examples/src/test/scala/rx/lang/scala/examples/TestSchedulerExample.scala I figured I could create my Observer like this:
val observer = mock(classOf[rx.Observer[Long]])
val obs: rx.lang.scala.Observer = Observer(new rx.observers.TestObserver(observer))
But it seems that this is not the case as this apply method is private.
Are we supposed to not write tests? Or am I missing something?
PS: The documentation for TestScheduler published at reactivex.io shows the same example, which uses more unknown things like inOrder with a single argument. If I take an up to date Mockito version, this method does have multiple arguments... would be helpful to either fix this or document the version.
Metadata
Metadata
Assignees
Labels
No labels