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