METHOD_0 ( ) { java . sql . IDENT_0 IDENT_1 = new java . sql . METHOD_1 ( 0 ) ; java . util . Calendar IDENT_2 = java . util . Calendar . getInstance ( java . util . Locale . METHOD_2 ( ) ) ; IDENT_2 . METHOD_3 ( IDENT_1 ) ; java . text . IDENT_3 IDENT_4 = new java . text . METHOD_4 ( STRING_0 , java . util . Locale . METHOD_2 ( ) ) ; java . lang . String expected = ( ( ( STRING_1 + ( IDENT_4 . format ( IDENT_2 . getTime ( ) ) ) ) + STRING_2 ) + ( IDENT_2 . get ( Calendar . IDENT_5 ) ) ) + STRING_1 ; org . pentaho . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 IDENT_10 = mock ( org . pentaho . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 . class ) ; org . pentaho . IDENT_11 . IDENT_12 . IDENT_10 . IDENT_13 . IDENT_14 [ ] values = new org . pentaho . IDENT_11 . IDENT_12 . IDENT_10 . IDENT_13 . IDENT_14 [ ] { new org . pentaho . IDENT_11 . IDENT_12 . IDENT_10 . IDENT_13 . METHOD_5 ( IDENT_1 ) } ; org . pentaho . IDENT_11 . IDENT_12 . IDENT_10 . IDENT_13 . IDENT_15 IDENT_16 = mock ( org . pentaho . IDENT_11 . IDENT_12 . IDENT_10 . IDENT_13 . IDENT_15 . class ) ; when ( IDENT_16 . METHOD_6 ( ) ) . thenReturn ( values ) ; java . lang . StringBuffer sb = new java . lang . StringBuffer ( ) ; org . pentaho . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_17 IDENT_8 = new org . pentaho . IDENT_6 . IDENT_7 . IDENT_8 . METHOD_7 ( ) ; org . pentaho . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_18 generator = IDENT_8 . METHOD_8 ( STRING_3 ) ; generator . METHOD_9 ( IDENT_10 , sb , java . util . Locale . METHOD_2 ( ) . toString ( ) , IDENT_16 ) ; "<AssertPlaceHolder>" ; } toString ( ) { if ( ( IDENT_19 ) == null ) { return tableName ; } else { return ( ( IDENT_19 ) + STRING_4 ) + ( tableName ) ; } }
org . junit . Assert . assertEquals ( expected , sb . toString ( ) )