METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . IDENT_2 expected = new org . IDENT_0 . IDENT_1 . METHOD_1 ( ) ; org . bson . types . IDENT_3 IDENT_4 = new org . bson . types . METHOD_2 ( STRING_0 . getBytes ( ) ) ; expected . setId ( IDENT_4 ) ; expected . setName ( STRING_0 ) ; collection . insert ( STRING_1 , expected ) ; org . IDENT_0 . IDENT_1 . METHOD_1 actual = collection . METHOD_3 ( STRING_2 , IDENT_4 ) . as ( org . IDENT_0 . IDENT_1 . METHOD_1 . class ) ; "<AssertPlaceHolder>" ; } as ( java . lang . Class ) { return map ( org . IDENT_0 . IDENT_5 . METHOD_4 ( clazz , IDENT_6 ) ) ; }
org . junit . Assert . assertEquals ( expected , actual )