METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . lang . String pattern = STRING_1 ; java . text . IDENT_1 IDENT_2 = new java . text . METHOD_1 ( pattern ) ; java . util . Calendar date = java . util . Calendar . getInstance ( ) ; date . METHOD_2 ( IDENT_2 . parse ( IDENT_0 ) ) ; br . com . IDENT_3 . IDENT_4 . function . IDENT_5 IDENT_6 = mock ( br . com . IDENT_3 . IDENT_4 . function . IDENT_5 . class ) ; when ( IDENT_6 . METHOD_3 ( ) ) . thenReturn ( date ) ; br . com . IDENT_3 . IDENT_4 . function . impl . IDENT_7 IDENT_8 = new br . com . IDENT_3 . IDENT_4 . function . impl . METHOD_4 ( IDENT_6 , pattern ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { return METHOD_5 ( br . com . IDENT_3 . IDENT_4 . IDENT_9 . from ( clazz ) ) ; }
org . junit . Assert . assertEquals ( IDENT_0 , IDENT_8 . METHOD_3 ( ) )