METHOD_0 ( ) { org . onosproject . net . IDENT_0 original = new org . onosproject . net . METHOD_1 ( org . onosproject . codec . impl . IDENT_1 . IDENT_2 , org . onosproject . codec . impl . IDENT_1 . IDENT_3 ) ; context . mapper ( ) . METHOD_2 ( com . fasterxml . jackson . databind . IDENT_4 . IDENT_5 ) ; context . mapper ( ) . METHOD_3 ( new com . fasterxml . jackson . databind . node . METHOD_4 ( false ) { @ org . onosproject . codec . impl . Override public com . fasterxml . jackson . databind . node . IDENT_6 METHOD_5 ( int v ) { return super . METHOD_5 ( ( ( long ) ( v ) ) ) ; } @ org . onosproject . codec . impl . Override public com . fasterxml . jackson . databind . node . IDENT_6 METHOD_5 ( short v ) { return super . METHOD_5 ( ( ( long ) ( v ) ) ) ; } } ) ; com . fasterxml . jackson . databind . node . IDENT_7 json = IDENT_8 . encode ( original , context ) ; com . fasterxml . jackson . databind . IDENT_9 expected = context . mapper ( ) . METHOD_6 ( org . onosproject . codec . impl . IDENT_1 . IDENT_10 ) ; "<AssertPlaceHolder>" ; } mapper ( ) { return mapper ; }
org . junit . Assert . assertEquals ( expected , json )