METHOD_0 ( ) { com . baeldung . IDENT_0 . IDENT_1 . IDENT_2 mock = METHOD_1 ( new com . baeldung . IDENT_0 . IDENT_1 . METHOD_2 ( ) ) ; when ( mock , STRING_0 ) . thenReturn ( INT_0 ) ; int result = mock . METHOD_3 ( null ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String ) { METHOD_4 ( name ) ; if ( name == null ) { return METHOD_5 ( ) ; } return METHOD_6 ( name . length ( ) ) ; }
org . junit . Assert . assertEquals ( INT_0 , result )