METHOD_0 ( ) { java . util . Calendar IDENT_0 = java . util . Calendar . getInstance ( ) ; for ( int i = 0 ; i < 1000 ; i ++ ) { IDENT_0 . set ( Calendar . IDENT_1 , i ) ; java . util . Date date = IDENT_0 . getTime ( ) ; java . lang . String IDENT_2 = org . nuxeo . ecm . IDENT_3 . client . model . IDENT_4 . METHOD_1 ( date ) ; java . util . Date IDENT_5 = org . nuxeo . ecm . IDENT_3 . client . model . IDENT_4 . METHOD_2 ( IDENT_2 ) ; "<AssertPlaceHolder>" ; } } METHOD_2 ( java . lang . String ) { if ( str == null ) { return null ; } try { return org . nuxeo . ecm . IDENT_3 . client . model . IDENT_4 . parse ( str ) . getTime ( ) ; } catch ( java . text . IDENT_6 e ) { throw new java . lang . IllegalArgumentException ( ( STRING_0 + str ) , e ) ; } }
org . junit . Assert . assertEquals ( date , IDENT_5 )