METHOD_0 ( ) { com . mongodb . client . IDENT_0 database = mock ( com . mongodb . client . IDENT_0 . class ) ; com . mongodb . IDENT_1 client = mock ( com . mongodb . IDENT_1 . class ) ; when ( client . METHOD_1 ( "test" ) ) . thenReturn ( database ) ; org . IDENT_2 . utils . IDENT_3 IDENT_4 = org . IDENT_2 . utils . IDENT_3 . METHOD_2 ( ) . METHOD_3 ( database ) ; com . mongodb . client . IDENT_0 IDENT_5 = IDENT_4 . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { return IDENT_6 . get ( ) ; }
org . junit . Assert . assertThat ( IDENT_5 , is ( database ) )