METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( false ) ; when ( IDENT_0 . METHOD_2 ( ) ) . thenReturn ( IDENT_1 ) ; METHOD_3 ( new org . mockito . IDENT_2 . IDENT_3 < java . lang . IDENT_4 > ( ) { @ com . facebook . IDENT_5 . Override public com . facebook . IDENT_5 . IDENT_4 METHOD_4 ( org . mockito . IDENT_6 . IDENT_7 IDENT_6 ) throws java . lang . Throwable { final java . lang . Object [ ] args = IDENT_6 . METHOD_5 ( ) ; com . facebook . IDENT_5 . IDENT_8 IDENT_9 = ( ( com . facebook . IDENT_5 . IDENT_8 ) ( args [ 0 ] ) ) ; IDENT_9 . METHOD_6 ( IDENT_0 ) ; return null ; } } ) . when ( IDENT_0 ) . METHOD_7 ( any ( com . facebook . IDENT_5 . IDENT_8 . class ) , any ( java . util . concurrent . IDENT_10 . class ) ) ; final java . lang . Object actual = com . facebook . IDENT_5 . IDENT_11 . METHOD_8 ( IDENT_0 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_12 , times ( 1 ) ) . METHOD_9 ( ) ; verify ( IDENT_12 , METHOD_10 ( ) ) . METHOD_11 ( ) ; } METHOD_8 ( com . facebook . IDENT_5 . IDENT_13 ) { final java . util . concurrent . IDENT_14 IDENT_15 = new java . util . concurrent . METHOD_12 ( 1 ) ; final com . facebook . IDENT_5 . IDENT_11 . IDENT_16 < T > IDENT_17 = new com . facebook . IDENT_5 . IDENT_11 . IDENT_16 < > ( ) ; final com . facebook . IDENT_5 . IDENT_11 . IDENT_16 < java . lang . Throwable > IDENT_18 = new com . facebook . IDENT_5 . IDENT_11 . IDENT_16 < > ( ) ; IDENT_19 . METHOD_7 ( new com . facebook . IDENT_5 . IDENT_8 < T > ( ) { @ com . facebook . IDENT_5 . Override public void METHOD_6 ( com . facebook . IDENT_5 . IDENT_13 < T > IDENT_19 ) { if ( ! ( IDENT_19 . METHOD_1 ( ) ) ) { return ; } try { IDENT_17 . value = IDENT_19 . METHOD_2 ( ) ; } finally { IDENT_15 . METHOD_11 ( ) ; } } @ com . facebook . IDENT_5 . Override public void METHOD_13 ( com . facebook . IDENT_5 . IDENT_13 < T > IDENT_19 ) { try { IDENT_18 . value = IDENT_19 . METHOD_14 ( ) ; } finally { IDENT_15 . METHOD_11 ( ) ; } } @ com . facebook . IDENT_5 . Override public void METHOD_15 ( com . facebook . IDENT_5 . IDENT_13 < T > IDENT_19 ) { IDENT_15 . METHOD_11 ( ) ; } @ com . facebook . IDENT_5 . Override public void METHOD_16 ( com . facebook . IDENT_5 . IDENT_13 < T > IDENT_19 ) { } } , new java . util . concurrent . METHOD_17 ( ) { @ com . facebook . IDENT_5 . Override public void execute ( java . lang . IDENT_20 command ) { command . run ( ) ; } } ) ; IDENT_15 . METHOD_9 ( ) ; if ( ( IDENT_18 . value ) != null ) { throw IDENT_18 . value ; } return IDENT_17 . value ; }
org . junit . Assert . assertEquals ( null , actual )