METHOD_0 ( ) { when ( IDENT_0 . resolve ( java . lang . String . class ) ) . thenReturn ( new com . IDENT_1 . IDENT_2 . METHOD_1 ( ) ) ; java . lang . Object result = this . IDENT_3 . create ( new com . IDENT_1 . IDENT_2 . IDENT_4 . METHOD_2 ( java . lang . String . class ) , this . IDENT_0 ) ; "<AssertPlaceHolder>" ; } create ( java . lang . Object , com . IDENT_1 . IDENT_2 . IDENT_5 ) { if ( ! ( request instanceof com . IDENT_1 . IDENT_2 . IDENT_6 . IDENT_7 ) ) { return new com . IDENT_1 . IDENT_2 . METHOD_1 ( ) ; } com . IDENT_1 . IDENT_2 . IDENT_6 . IDENT_7 type = ( ( com . IDENT_1 . IDENT_2 . IDENT_6 . IDENT_7 ) ( request ) ) ; if ( ! ( org . joda . time . base . IDENT_8 . class . METHOD_3 ( type . METHOD_4 ( ) ) ) ) { return new com . IDENT_1 . IDENT_2 . METHOD_1 ( ) ; } try { java . util . Date date = ( ( java . util . Date ) ( context . resolve ( java . util . Date . class ) ) ) ; long IDENT_9 = date . getTime ( ) ; org . joda . time . IDENT_10 IDENT_11 = ( ( org . joda . time . IDENT_10 ) ( context . resolve ( org . joda . time . IDENT_10 . class ) ) ) ; return type . METHOD_4 ( ) . METHOD_5 ( long . class , org . joda . time . IDENT_10 . class ) . newInstance ( IDENT_9 , IDENT_11 ) ; } catch ( java . lang . Exception e ) { e . printStackTrace ( ) ; return new com . IDENT_1 . IDENT_2 . METHOD_1 ( ) ; } }
org . junit . Assert . assertEquals ( new com . IDENT_1 . IDENT_2 . METHOD_1 ( ) , result )