METHOD_0 ( ) { org . IDENT_0 . domain . mapper . IDENT_1 entity = new org . IDENT_0 . domain . mapper . METHOD_1 ( "value" ) ; org . bson . Document IDENT_2 = new org . bson . Document ( ) ; METHOD_2 ( ) . save ( entity , IDENT_2 ) ; "<AssertPlaceHolder>" ; } save ( java . lang . Object , org . bson . Document ) { try { org . IDENT_0 . domain . mapper . Collection collection = value ( instance ) ; java . lang . Object IDENT_3 = collection . stream ( ) . map ( ( v ) -> context ( ) . METHOD_3 ( v . getClass ( ) ) . METHOD_4 ( v ) ) . collect ( java . util . stream . IDENT_4 . toList ( ) ) ; IDENT_5 . put ( name ( ) , IDENT_3 ) ; } catch ( java . lang . Exception e ) { org . IDENT_0 . domain . mapper . IDENT_6 . LOGGER . error ( STRING_0 , name ( ) , e ) ; } }
org . junit . Assert . assertThat ( IDENT_2 . getString ( "value" ) , org . hamcrest . Matchers . is ( "value" ) )