METHOD_0 ( ) { org . wildfly . IDENT_0 . IDENT_1 . IDENT_2 < java . lang . IDENT_3 > IDENT_1 = mock ( org . wildfly . IDENT_0 . IDENT_1 . IDENT_2 . class ) ; try ( org . wildfly . IDENT_0 . IDENT_1 . IDENT_2 < java . lang . IDENT_3 > subject = new org . wildfly . IDENT_0 . IDENT_1 . METHOD_1 ( IDENT_1 ) ) { org . wildfly . IDENT_0 . IDENT_1 . IDENT_4 < java . lang . Object , java . lang . Object > command = mock ( org . wildfly . IDENT_0 . IDENT_1 . IDENT_4 . class ) ; org . wildfly . IDENT_0 . group . Node IDENT_5 = mock ( org . wildfly . IDENT_0 . group . Node . class ) ; java . lang . Object result = new java . lang . Object ( ) ; java . util . concurrent . IDENT_6 < java . lang . Object > future = new java . util . concurrent . METHOD_2 ( ) ; when ( IDENT_1 . METHOD_3 ( METHOD_4 ( command ) , METHOD_4 ( IDENT_5 ) ) ) . thenReturn ( future ) ; future . METHOD_5 ( result ) ; java . util . concurrent . IDENT_7 < java . lang . Object > response = subject . METHOD_6 ( command , IDENT_5 ) ; "<AssertPlaceHolder>" ; } verify ( IDENT_1 ) . close ( ) ; } METHOD_4 ( T ) { return ( test ) -> test == object ; }
org . junit . Assert . assertSame ( future , response )