METHOD_0 ( ) { java . util . Date date = new java . util . Date ( ) ; java . util . Calendar IDENT_0 = java . util . Calendar . getInstance ( ) ; IDENT_0 . METHOD_1 ( date ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . Object ) { if ( o == null ) { return null ; } else if ( ( o . getClass ( ) ) == ( java . util . Date . class ) ) { return ( ( java . util . Date ) ( o ) ) ; } else if ( o instanceof java . util . Date ) { return new java . util . Date ( ( ( java . util . Date ) ( o ) ) . getTime ( ) ) ; } else if ( o instanceof java . util . Calendar ) { return new java . util . Date ( ( ( java . util . Calendar ) ( o ) ) . getTime ( ) . getTime ( ) ) ; } else { return org . IDENT_1 . util . IDENT_2 . METHOD_2 ( o . toString ( ) , org . IDENT_1 . util . IDENT_2 . IDENT_3 ) ; } }
org . junit . Assert . assertThat ( org . IDENT_1 . util . IDENT_2 . METHOD_2 ( IDENT_0 ) , org . hamcrest . CoreMatchers . is ( date ) )