METHOD_0 ( ) { java . lang . String entity = json . METHOD_1 ( new org . neo4j . server . rest . IDENT_0 . METHOD_2 ( "test" ) { @ org . neo4j . server . rest . IDENT_0 . IDENT_1 . Override MOD_0 void serialize ( org . neo4j . server . rest . IDENT_0 . IDENT_2 serializer ) { java . util . ArrayList < org . neo4j . server . rest . IDENT_0 . IDENT_3 > IDENT_4 = new java . util . ArrayList ( ) ; IDENT_4 . add ( new org . neo4j . server . rest . IDENT_0 . METHOD_2 ( STRING_0 ) { @ org . neo4j . server . rest . IDENT_0 . IDENT_1 . Override MOD_0 void serialize ( org . neo4j . server . rest . IDENT_0 . IDENT_2 serializer ) { serializer . METHOD_3 ( "foo" , "bar" ) ; } } ) ; serializer . METHOD_4 ( "foo" , new org . neo4j . server . rest . IDENT_0 . METHOD_5 ( org . neo4j . server . rest . IDENT_0 . IDENT_5 . IDENT_6 , IDENT_4 ) ) ; } } ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( java . lang . String ) { return ( ( java . util . Map < java . lang . String , java . lang . Object > ) ( org . neo4j . server . rest . domain . IDENT_7 . METHOD_7 ( json ) ) ) ; }
org . junit . Assert . assertEquals ( "bar" , ( ( java . util . Map ) ( ( ( java . util . List ) ( org . neo4j . server . rest . domain . IDENT_7 . METHOD_6 ( entity ) . get ( "foo" ) ) ) . get ( 0 ) ) ) . get ( "foo" ) )