METHOD_0 ( ) { net . sourceforge . IDENT_0 . view . IDENT_1 instance = net . sourceforge . IDENT_0 . view . IDENT_1 . getInstance ( ) ; net . sourceforge . IDENT_0 . model . IDENT_2 table = org . mockito . Mockito . mock ( net . sourceforge . IDENT_0 . model . IDENT_2 . class ) ; when ( table . getName ( ) ) . thenReturn ( STRING_0 ) ; when ( table . METHOD_1 ( ) ) . thenReturn ( STRING_1 ) ; net . sourceforge . IDENT_0 . view . IDENT_3 IDENT_4 = new net . sourceforge . IDENT_0 . view . METHOD_2 ( ) ; net . sourceforge . IDENT_0 . model . IDENT_5 database = org . mockito . Mockito . mock ( net . sourceforge . IDENT_0 . model . IDENT_5 . class ) ; when ( database . METHOD_3 ( ) ) . thenReturn ( STRING_2 ) ; IDENT_4 . METHOD_4 ( database ) ; net . sourceforge . IDENT_0 . view . IDENT_6 data = new net . sourceforge . IDENT_0 . view . METHOD_5 ( ) ; data . METHOD_6 ( table ) ; data . METHOD_7 ( IDENT_4 ) ; data . METHOD_8 ( true ) ; data . METHOD_9 ( true ) ; java . lang . String result = instance . METHOD_10 ( table , data ) ; java . lang . String expected = METHOD_11 ( STRING_3 ) ; "<AssertPlaceHolder>" ; } METHOD_11 ( java . lang . String ) { byte [ ] bytes = java . nio . file . IDENT_7 . METHOD_12 ( java . nio . file . IDENT_8 . get ( IDENT_9 ) ) ; return new java . lang . String ( bytes , java . nio . IDENT_10 . IDENT_11 . METHOD_13 ( STRING_4 ) ) ; }
org . junit . Assert . assertEquals ( expected , result )