METHOD_0 ( ) { com . IDENT_0 . core . model . IDENT_1 IDENT_2 = mock ( com . IDENT_0 . core . model . IDENT_1 . class ) ; when ( IDENT_2 . METHOD_1 ( ) ) . thenReturn ( STRING_0 ) ; java . lang . String IDENT_3 = IDENT_4 . METHOD_2 ( IDENT_2 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( com . IDENT_0 . util . IDENT_1 ) { if ( org . springframework . util . StringUtils . METHOD_3 ( IDENT_5 . METHOD_1 ( ) ) ) { return IDENT_5 . METHOD_1 ( ) . toLowerCase ( ) ; } else { return ( ( com . IDENT_0 . util . IDENT_6 . IDENT_7 ) + STRING_1 ) + ( IDENT_5 . METHOD_4 ( ) . METHOD_5 ( ) . getId ( ) . toString ( ) . toLowerCase ( ) ) ; } }
org . junit . Assert . assertEquals ( "foo" , IDENT_3 )