#NEWLINE# def test_default_if_empty_non_empty1( self ) : #NEWLINE# #INDENT# scheduler = TestScheduler ( ) #NEWLINE# xs = scheduler . create_hot_observable ( on_next ( 280 , 42 ) , on_next ( 360 , 43 ) , on_completed ( 420 ) ) #NEWLINE# def create( ) : #NEWLINE# #INDENT# return xs . default_if_empty ( ) #NEWLINE# #UNINDENT# results = scheduler . start ( create ) #NEWLINE# results . messages . assert_equal ( on_next ( 280 , 42 ) , on_next ( 360 , 43 ) , on_completed ( 420 ) ) #NEWLINE# xs . subscriptions . assert_equal ( subscribe ( 200 , 420 ) )