METHOD_0 ( ) { com . mongodb . IDENT_0 IDENT_1 = mock ( com . mongodb . IDENT_0 . class ) ; com . mongodb . client . IDENT_2 db = new com . github . IDENT_3 . METHOD_1 ( com . github . IDENT_4 . dao . IDENT_5 . IDENT_6 ) . METHOD_2 ( com . github . IDENT_4 . dao . IDENT_5 . IDENT_7 ) ; when ( IDENT_1 . METHOD_2 ( anyString ( ) ) ) . thenReturn ( db ) ; com . github . IDENT_4 . dao . IDENT_8 dao = new com . github . IDENT_4 . dao . METHOD_3 ( com . github . IDENT_4 . dao . IDENT_5 . IDENT_9 , com . github . IDENT_4 . dao . IDENT_5 . IDENT_10 , com . github . IDENT_4 . dao . IDENT_5 . IDENT_11 , com . github . IDENT_4 . dao . IDENT_5 . IDENT_12 , com . github . IDENT_4 . dao . IDENT_5 . IDENT_13 , com . github . IDENT_4 . dao . IDENT_5 . IDENT_14 ) ; com . github . IDENT_4 . dao . IDENT_15 IDENT_16 = mock ( com . github . IDENT_4 . dao . IDENT_15 . class ) ; when ( IDENT_16 . METHOD_4 ( any ( com . mongodb . client . IDENT_2 . class ) ) ) . thenReturn ( true ) ; dao . METHOD_5 ( IDENT_16 ) ; dao . METHOD_6 ( IDENT_1 , com . github . IDENT_4 . dao . IDENT_5 . IDENT_7 ) ; boolean IDENT_17 = dao . METHOD_7 ( ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( ) { METHOD_8 ( ) ; boolean IDENT_18 = IDENT_16 . METHOD_4 ( METHOD_9 ( ) ) ; if ( ( ! IDENT_18 ) && ( IDENT_19 ) ) { long IDENT_20 = ( new java . util . Date ( ) . getTime ( ) ) + ( ( ( IDENT_21 ) * 1000 ) * INT_0 ) ; while ( ( ! IDENT_18 ) && ( ( new java . util . Date ( ) . getTime ( ) ) < IDENT_20 ) ) { IDENT_18 = IDENT_16 . METHOD_4 ( METHOD_9 ( ) ) ; if ( ! IDENT_18 ) { com . github . IDENT_4 . dao . METHOD_3 . logger . info ( STRING_0 ) ; try { java . lang . Thread . sleep ( ( ( IDENT_22 ) * 1000 ) ) ; } catch ( java . lang . IDENT_23 e ) { } } } } if ( ( ! IDENT_18 ) && ( IDENT_24 ) ) { com . github . IDENT_4 . dao . METHOD_3 . logger . info ( STRING_1 ) ; throw new com . github . IDENT_4 . exception . METHOD_10 ( STRING_2 ) ; } return IDENT_18 ; }
org . junit . Assert . assertTrue ( IDENT_17 )