METHOD_0 ( ) { io . IDENT_0 . IDENT_1 IDENT_2 = new org . IDENT_3 . IDENT_4 . client . IDENT_0 . METHOD_1 ( ) ; io . IDENT_0 . IDENT_5 IDENT_6 = METHOD_2 ( IDENT_2 , io . IDENT_0 . impl . IDENT_7 . IDENT_8 ) ; io . IDENT_0 . impl . IDENT_9 . IDENT_10 ref = new io . IDENT_0 . impl . IDENT_9 . METHOD_3 ( io . IDENT_0 . IDENT_11 . IDENT_12 , IDENT_6 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . util . List ) { java . util . List < io . IDENT_0 . impl . IDENT_9 . METHOD_3 > IDENT_13 = IDENT_14 . stream ( ) . filter ( ( ref ) -> ( IDENT_11 . IDENT_15 . equals ( ref . METHOD_5 ( ) ) ) && ( ( ref . METHOD_6 ( ) ) instanceof io . IDENT_0 . impl . IDENT_16 ) ) . collect ( java . util . stream . IDENT_17 . toList ( ) ) ; java . util . List < io . IDENT_0 . impl . IDENT_9 . METHOD_3 > IDENT_18 = IDENT_14 . stream ( ) . filter ( ( ref ) -> ( IDENT_11 . IDENT_12 . equals ( ref . METHOD_5 ( ) ) ) && ( ( ref . METHOD_6 ( ) ) instanceof io . IDENT_0 . impl . IDENT_16 ) ) . collect ( java . util . stream . IDENT_17 . toList ( ) ) ; java . util . List < io . IDENT_0 . impl . IDENT_9 . METHOD_3 > IDENT_19 = IDENT_14 . stream ( ) . filter ( ( ref ) -> ( ref . METHOD_6 ( ) ) instanceof io . IDENT_0 . impl . IDENT_20 ) . collect ( java . util . stream . IDENT_17 . toList ( ) ) ; if ( ! ( IDENT_19 . isEmpty ( ) ) ) { if ( ( IDENT_19 . size ( ) ) == 1 ) { return IDENT_19 . get ( 0 ) ; } return null ; } if ( ! ( IDENT_18 . isEmpty ( ) ) ) { if ( ( IDENT_18 . size ( ) ) == 1 ) { return IDENT_18 . get ( 0 ) ; } return null ; } if ( ( IDENT_13 . size ( ) ) == 1 ) { return IDENT_13 . get ( 0 ) ; } return null ; }
org . junit . Assert . assertEquals ( ref , io . IDENT_0 . impl . IDENT_16 . METHOD_4 ( java . util . Arrays . asList ( ref ) ) )