METHOD_0 ( ) { System . out . println ( STRING_0 ) ; java . lang . String user = "a" ; java . lang . String IDENT_0 = "a" ; IDENT_1 . IDENT_2 instance = new IDENT_1 . METHOD_1 ( ) ; boolean expResult = true ; boolean result = instance . METHOD_2 ( user , IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String , java . lang . String ) { IDENT_3 = "" ; com . mongodb . IDENT_4 IDENT_5 = new com . mongodb . METHOD_3 ( ) ; IDENT_5 . put ( STRING_1 , user ) ; IDENT_5 . put ( STRING_2 , IDENT_0 ) ; com . mongodb . IDENT_6 IDENT_7 = IDENT_8 . find ( IDENT_5 ) ; while ( IDENT_7 . hasNext ( ) ) { IDENT_3 = IDENT_7 . next ( ) . get ( STRING_1 ) . toString ( ) ; } if ( user . equals ( IDENT_3 ) ) return true ; else return false ; }
org . junit . Assert . assertEquals ( expResult , result )