METHOD_0 ( ) { final com . mongodb . IDENT_0 IDENT_1 = com . mongodb . IDENT_2 . start ( ) . add ( org . apache . rya . IDENT_3 . IDENT_4 . parent . IDENT_5 . IDENT_6 , org . apache . rya . IDENT_3 . IDENT_4 . parent . IDENT_7 . IDENT_8 ) . add ( org . apache . rya . IDENT_3 . IDENT_4 . parent . IDENT_5 . IDENT_9 , org . apache . rya . IDENT_3 . IDENT_4 . parent . IDENT_7 . IDENT_10 ) . add ( org . apache . rya . IDENT_3 . IDENT_4 . parent . IDENT_5 . IDENT_11 , org . apache . rya . IDENT_3 . IDENT_4 . parent . IDENT_7 . IDENT_12 ) . add ( org . apache . rya . IDENT_3 . IDENT_4 . parent . IDENT_5 . IDENT_13 , org . apache . rya . IDENT_3 . IDENT_4 . parent . IDENT_7 . IDENT_14 ) . get ( ) ; final org . apache . rya . IDENT_3 . api . metadata . IDENT_15 expected = new org . apache . rya . IDENT_3 . api . metadata . IDENT_15 . Builder ( ) . METHOD_1 ( org . apache . rya . IDENT_3 . IDENT_4 . parent . IDENT_7 . IDENT_8 ) . METHOD_2 ( org . apache . rya . IDENT_3 . IDENT_4 . parent . IDENT_7 . IDENT_10 ) . METHOD_3 ( org . apache . rya . IDENT_3 . IDENT_4 . parent . IDENT_7 . IDENT_12 ) . METHOD_4 ( org . apache . rya . IDENT_3 . IDENT_4 . parent . IDENT_7 . IDENT_14 ) . build ( ) ; final org . apache . rya . IDENT_3 . api . metadata . IDENT_15 actual = adapter . METHOD_5 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( org . apache . IDENT_16 . api . data . IDENT_17 ) { java . util . IDENT_18 . METHOD_6 ( bytes ) ; try ( final org . apache . commons . io . serialization . IDENT_19 IDENT_20 = new org . apache . commons . io . serialization . METHOD_7 ( new java . io . ByteArrayInputStream ( bytes . toArray ( ) ) ) ) { IDENT_20 . accept ( org . apache . rya . api . model . IDENT_21 . class , java . lang . IDENT_22 . class , java . lang . Double . class , java . lang . IDENT_23 . class , java . lang . Integer . class , java . lang . Long . class , java . lang . IDENT_24 . class , java . lang . IDENT_25 . class , java . math . BigDecimal . class , java . math . BigInteger . class , java . util . IDENT_26 . class , java . util . HashMap . class , org . apache . rya . api . model . IDENT_27 . class , org . eclipse . IDENT_28 . query . impl . IDENT_29 . class , org . eclipse . IDENT_28 . model . impl . IDENT_30 . class , org . eclipse . IDENT_28 . model . impl . IDENT_31 . class , org . eclipse . IDENT_28 . model . impl . IDENT_32 . class , org . eclipse . IDENT_28 . model . impl . IDENT_33 . class , org . eclipse . IDENT_28 . model . impl . IDENT_34 . class , org . eclipse . IDENT_28 . query . IDENT_35 . class , org . eclipse . IDENT_28 . query . IDENT_36 . IDENT_37 . IDENT_38 . class , org . eclipse . IDENT_28 . query . impl . IDENT_39 . class ) ; IDENT_20 . accept ( STRING_0 ) ; final java . lang . Object o = IDENT_20 . METHOD_8 ( ) ; if ( o instanceof org . apache . rya . api . model . IDENT_21 ) { return ( ( org . apache . rya . api . model . IDENT_21 ) ( o ) ) ; } else { throw new java . lang . Exception ( ( STRING_1 + ( o . getClass ( ) ) ) ) ; } } }
org . junit . Assert . assertEquals ( expected , actual )