Skip to content

Instantly share code, notes, and snippets.

Created November 30, 2018 06:59
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save humblerookie/9ff1f62c0d08078d5538b0775a82ddba to your computer and use it in GitHub Desktop.
class HairPullingTest {
private var testScheduler = TestScheduler()
fun testVodoo() {
val subject:PublishSubject<Int> = PublishSubject.create()
val testObserver = subject
.doOnSubscribe {
print("I've subscribed")
print("Emitting Item")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment