METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . executor . monitor . IDENT_2 . IDENT_3 IDENT_2 = new com . IDENT_0 . IDENT_1 . executor . monitor . IDENT_2 . METHOD_1 ( ) ; IDENT_2 . METHOD_2 ( false ) ; IDENT_2 . METHOD_3 ( true ) ; IDENT_2 . METHOD_4 ( IDENT_4 . IDENT_5 ) ; IDENT_2 . METHOD_5 ( METHOD_6 ( ) ) ; com . IDENT_0 . IDENT_1 . executor . monitor . IDENT_2 . IDENT_6 . IDENT_7 IDENT_6 = org . mockito . Mockito . mock ( com . IDENT_0 . IDENT_1 . executor . monitor . IDENT_2 . IDENT_6 . IDENT_7 . class ) ; org . mockito . Mockito . when ( IDENT_6 . getStatus ( ) ) . thenReturn ( IDENT_4 . IDENT_5 . METHOD_7 ( ) ) ; boolean IDENT_8 = IDENT_9 . update ( IDENT_2 , IDENT_6 ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_6 , org . mockito . Mockito . times ( 1 ) ) . METHOD_4 ( IDENT_4 . IDENT_10 . METHOD_7 ( ) ) ; } update ( com . IDENT_0 . IDENT_1 . executor . monitor . IDENT_2 . METHOD_1 , com . IDENT_0 . IDENT_1 . executor . monitor . IDENT_2 . IDENT_6 . IDENT_7 ) { com . IDENT_0 . IDENT_1 . executor . monitor . IDENT_2 . IDENT_4 IDENT_11 = IDENT_2 . getStatus ( ) ; com . IDENT_0 . IDENT_1 . executor . monitor . IDENT_2 . IDENT_4 IDENT_12 = METHOD_8 ( IDENT_2 , IDENT_6 ) ; if ( IDENT_11 == IDENT_12 ) { IDENT_6 . METHOD_4 ( IDENT_2 . getStatus ( ) . METHOD_7 ( ) ) ; com . IDENT_0 . IDENT_1 . executor . monitor . IDENT_2 . IDENT_13 . METHOD_9 ( IDENT_2 ) ; return false ; } IDENT_2 . METHOD_4 ( IDENT_12 ) ; IDENT_6 . METHOD_4 ( IDENT_2 . getStatus ( ) . METHOD_7 ( ) ) ; com . IDENT_0 . IDENT_1 . executor . monitor . IDENT_2 . IDENT_13 . METHOD_9 ( IDENT_2 ) ; return true ; }
org . junit . Assert . assertTrue ( IDENT_8 )