METHOD_0 ( ) { org . IDENT_0 . domain . session . IDENT_1 entity = new org . IDENT_0 . domain . session . METHOD_1 ( STRING_0 ) ; session . save ( entity ) ; entity . setValue ( STRING_1 ) ; session . METHOD_2 ( ) ; org . bson . Document document = METHOD_3 ( ) . find ( com . mongodb . client . model . IDENT_2 . eq ( STRING_2 , STRING_0 ) ) . first ( ) ; "<AssertPlaceHolder>" ; } first ( ) { return METHOD_4 ( ) . find ( ) . first ( ) ; }
org . junit . Assert . assertThat ( document . get ( "value" ) , is ( STRING_1 ) )