test ( ) { final org . opendaylight . yangtools . yang . model . api . IDENT_0 IDENT_1 = org . opendaylight . yangtools . yang . test . util . IDENT_2 . METHOD_0 ( STRING_0 ) ; final com . google . gson . IDENT_3 parser = new com . google . gson . METHOD_1 ( ) ; final com . google . gson . IDENT_4 IDENT_5 = parser . parse ( new java . io . METHOD_2 ( new java . io . File ( getClass ( ) . getResource ( STRING_1 ) . METHOD_3 ( ) ) ) ) ; final org . opendaylight . yangtools . yang . data . api . schema . IDENT_6 < ? extends org . opendaylight . yangtools . yang . data . api . IDENT_7 . IDENT_8 , ? > IDENT_9 = org . opendaylight . yangtools . yang . data . impl . schema . builder . impl . IDENT_10 . create ( ) . METHOD_4 ( new org . opendaylight . yangtools . yang . data . api . IDENT_7 . METHOD_5 ( org . opendaylight . yangtools . yang . data . codec . gson . IDENT_11 . METHOD_6 ( STRING_2 ) ) ) . METHOD_7 ( org . opendaylight . yangtools . yang . data . impl . schema . IDENT_12 . METHOD_8 ( new org . opendaylight . yangtools . yang . data . api . IDENT_7 . METHOD_5 ( org . opendaylight . yangtools . yang . data . codec . gson . IDENT_11 . METHOD_6 ( STRING_2 ) ) , STRING_3 ) ) . build ( ) ; final org . opendaylight . yangtools . yang . model . api . IDENT_13 IDENT_14 = org . opendaylight . yangtools . yang . model . api . IDENT_13 . create ( true , org . opendaylight . yangtools . yang . data . codec . gson . IDENT_11 . METHOD_6 ( STRING_2 ) , org . opendaylight . yangtools . yang . data . codec . gson . IDENT_11 . METHOD_6 ( STRING_4 ) ) ; final java . io . IDENT_15 writer = new java . io . StringWriter ( ) ; final java . lang . String IDENT_16 = org . opendaylight . yangtools . yang . data . codec . gson . IDENT_11 . METHOD_9 ( IDENT_1 , IDENT_14 , writer , IDENT_9 ) ; final com . google . gson . IDENT_4 IDENT_17 = parser . parse ( IDENT_16 ) ; "<AssertPlaceHolder>" ; } parse ( javax . xml . stream . IDENT_18 ) { if ( reader . hasNext ( ) ) { reader . METHOD_10 ( ) ; final org . opendaylight . yangtools . yang . data . util . IDENT_19 < ? > IDENT_20 ; if ( ( IDENT_21 ) instanceof org . opendaylight . yangtools . yang . model . api . IDENT_22 ) { IDENT_20 = new org . opendaylight . yangtools . yang . data . util . METHOD_11 ( ( ( org . opendaylight . yangtools . yang . model . api . IDENT_22 ) ( IDENT_21 ) ) ) ; } else if ( ( IDENT_21 ) instanceof org . opendaylight . yangtools . yang . model . api . IDENT_23 ) { IDENT_20 = new org . opendaylight . yangtools . yang . data . util . METHOD_12 ( ( ( org . opendaylight . yangtools . yang . model . api . IDENT_23 ) ( IDENT_21 ) ) ) ; } else if ( ( IDENT_21 ) instanceof org . opendaylight . yangtools . IDENT_24 . model . api . IDENT_25 ) { IDENT_20 = new org . opendaylight . yangtools . yang . data . util . METHOD_13 ( ( ( org . opendaylight . yangtools . IDENT_24 . model . api . IDENT_25 ) ( IDENT_21 ) ) ) ; } else if ( ( IDENT_21 ) instanceof org . opendaylight . yangtools . yang . model . api . IDENT_26 ) { IDENT_20 = new org . opendaylight . yangtools . yang . data . util . METHOD_14 ( ( ( org . opendaylight . yangtools . yang . model . api . IDENT_26 ) ( IDENT_21 ) ) ) ; } else if ( ( IDENT_21 ) instanceof org . opendaylight . yangtools . yang . model . api . IDENT_27 ) { IDENT_20 = new org . opendaylight . yangtools . yang . data . util . METHOD_15 ( ( ( org . opendaylight . yangtools . yang . model . api . IDENT_27 ) ( IDENT_21 ) ) ) ; } else if ( ( IDENT_21 ) instanceof org . opendaylight . yangtools . yang . model . api . IDENT_28 ) { IDENT_20 = new org . opendaylight . yangtools . yang . data . util . METHOD_16 ( ( ( org . opendaylight . yangtools . yang . model . api . IDENT_28 ) ( IDENT_21 ) ) ) ; } else { throw new java . lang . IllegalStateException ( ( ( STRING_5 + ( IDENT_21 . getClass ( ) ) ) + STRING_6 ) ) ; } read ( reader , IDENT_20 , reader . METHOD_17 ( ) ) ; IDENT_20 . write ( writer ) ; } return this ; }
org . junit . Assert . assertEquals ( IDENT_5 , IDENT_17 )