METHOD_0 ( ) { java . io . StringWriter writer = new java . io . StringWriter ( ) ; name . IDENT_0 . IDENT_1 . shell . store . IDENT_2 . save ( graph , writer ) ; java . lang . String string = writer . toString ( ) ; java . lang . String expected ; java . io . InputStream in = name . IDENT_0 . IDENT_1 . shell . store . IDENT_3 . IDENT_4 . METHOD_1 ( ) ; try { expected = org . apache . commons . io . IDENT_5 . toString ( in ) ; } finally { org . apache . commons . io . IDENT_5 . METHOD_2 ( in ) ; } "<AssertPlaceHolder>" ; } toString ( ) { java . lang . StringBuilder builder = new java . lang . StringBuilder ( ) ; builder . append ( STRING_0 ) ; if ( ( this . id ) != null ) builder . append ( STRING_1 ) . append ( this . id ) . append ( STRING_2 ) ; if ( ( this . name ) != null ) builder . append ( STRING_3 ) . append ( this . name ) . append ( STRING_2 ) ; if ( ( this . IDENT_6 ) != null ) builder . append ( STRING_4 ) . append ( this . IDENT_6 ) . append ( STRING_2 ) ; if ( ( this . IDENT_7 ) != null ) builder . append ( STRING_5 ) . append ( this . IDENT_7 ) . append ( STRING_2 ) ; if ( ( this . type ) != null ) builder . append ( STRING_6 ) . append ( this . type ) ; builder . append ( "]" ) ; return builder . toString ( ) ; }
org . junit . Assert . assertEquals ( expected , string )