METHOD_0 ( ) { org . nuxeo . ecm . core . api . IDENT_0 reference = session . METHOD_1 ( new org . nuxeo . ecm . core . api . METHOD_2 ( STRING_0 ) ) ; byte [ ] avro = METHOD_3 ( reference ) ; byte [ ] json = METHOD_4 ( reference ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . nuxeo . ecm . core . api . IDENT_0 ) { java . io . ByteArrayOutputStream IDENT_1 = new java . io . ByteArrayOutputStream ( ) ; org . nuxeo . ecm . core . io . registry . context . IDENT_2 ctx = IDENT_2 . IDENT_3 . properties ( STRING_1 ) . get ( ) ; org . nuxeo . ecm . core . io . registry . IDENT_4 < org . nuxeo . ecm . core . api . IDENT_0 > writer = registry . METHOD_5 ( ctx , org . nuxeo . ecm . core . api . IDENT_0 . class , IDENT_5 . IDENT_6 ) ; writer . write ( doc , org . nuxeo . ecm . core . api . IDENT_0 . class , org . nuxeo . ecm . core . api . IDENT_0 . class , IDENT_5 . IDENT_6 , IDENT_1 ) ; return IDENT_1 . toByteArray ( ) ; }
org . junit . Assert . assertTrue ( ( ( avro . length ) < ( json . length ) ) )