METHOD_0 ( ) { org . mule . runtime . core . api . event . IDENT_0 result = IDENT_1 . METHOD_1 ( java . util . Collections . < org . mule . runtime . core . api . event . IDENT_0 > singletonList ( null ) , mock ( org . mule . runtime . core . api . event . IDENT_0 . class ) ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . util . List , org . mule . runtime . core . api . event . IDENT_0 ) { if ( results == null ) { return null ; } else if ( ( results . size ( ) ) == 1 ) { org . mule . runtime . core . IDENT_2 . event . IDENT_3 event = ( ( org . mule . runtime . core . IDENT_2 . event . IDENT_3 ) ( results . get ( 0 ) ) ) ; if ( event == null ) { return event ; } else if ( ( event != null ) && ( ( event . getMessage ( ) ) != null ) ) { if ( IDENT_4 ) { return METHOD_2 ( event ) ; } else { return event ; } } else { return IDENT_5 ; } } else { java . util . List < org . mule . runtime . core . api . event . IDENT_0 > IDENT_6 = results . stream ( ) . filter ( ( object ) -> ( object != null ) && ( ( object . getMessage ( ) ) != null ) ) . collect ( toList ( ) ) ; if ( ( IDENT_6 . size ( ) ) == 0 ) { return org . mule . runtime . core . api . event . IDENT_0 . builder ( IDENT_5 ) . message ( org . mule . runtime . api . message . Message . of ( null ) ) . build ( ) ; } else if ( ( IDENT_6 . size ( ) ) == 1 ) { return IDENT_6 . get ( 0 ) ; } else { return METHOD_3 ( IDENT_6 , IDENT_5 ) ; } } }
org . junit . Assert . assertNull ( result )