METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 < java . lang . String , java . lang . Integer > IDENT_5 = com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_1 ( "foo" ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 < java . lang . String , java . lang . Integer > IDENT_6 = com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_2 ( 1 ) ; "<AssertPlaceHolder>" ; IDENT_7 . expect ( com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IllegalStateException . class ) ; IDENT_7 . METHOD_3 ( "foo" ) ; METHOD_1 . METHOD_4 ( IllegalStateException :: new ) ; } METHOD_4 ( java . util . function . IDENT_8 ) { return match ( ( ( com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_9 . IDENT_10 . IDENT_11 . IDENT_12 < T , IDENT_13 , IDENT_14 > ) ( ( l ) -> { throw IDENT_15 . apply ( l ) ; } ) ) , com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . id ( ) ) ; }
org . junit . Assert . assertThat ( METHOD_2 . METHOD_4 ( IllegalStateException :: new ) , org . hamcrest . core . Is . is ( 1 ) )