METHOD_0 ( ) { when ( repo . METHOD_1 ( IDENT_0 . IDENT_1 ) ) . thenReturn ( io . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_0 . METHOD_2 ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String ) { io . IDENT_2 . IDENT_3 . IDENT_4 . services . IDENT_5 . logger . debug ( ( STRING_0 + token ) ) ; if ( token == null ) { io . IDENT_2 . IDENT_3 . IDENT_4 . services . IDENT_5 . logger . error ( STRING_1 ) ; throw new io . IDENT_2 . IDENT_3 . IDENT_4 . exceptions . METHOD_4 ( STRING_2 ) ; } io . IDENT_2 . IDENT_3 . IDENT_4 . domain . IDENT_6 IDENT_7 = null ; IDENT_7 = IDENT_8 . METHOD_1 ( token ) ; if ( IDENT_7 == null ) { io . IDENT_2 . IDENT_3 . IDENT_4 . services . IDENT_5 . logger . error ( ( STRING_3 + token ) ) ; throw new io . IDENT_2 . IDENT_3 . IDENT_4 . exceptions . METHOD_4 ( STRING_4 ) ; } return IDENT_7 ; }
org . junit . Assert . assertEquals ( service . METHOD_3 ( IDENT_0 . IDENT_1 ) . toString ( ) , io . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_0 . METHOD_2 ( ) . toString ( ) )