METHOD_0 ( ) { ddf . platform . IDENT_0 . IDENT_1 IDENT_2 = new ddf . platform . IDENT_0 . METHOD_1 ( ) ; org . apache . IDENT_3 . shell . api . IDENT_4 . IDENT_5 session = mock ( org . apache . IDENT_3 . shell . api . IDENT_4 . IDENT_5 . class ) ; when ( session . execute ( METHOD_2 ( ddf . platform . IDENT_0 . IDENT_6 . class ) ) ) . METHOD_3 ( IDENT_2 ) ; ddf . platform . IDENT_0 . IDENT_7 IDENT_8 = new ddf . platform . IDENT_0 . METHOD_4 ( ) { @ ddf . platform . IDENT_0 . Override public ddf . security . IDENT_9 METHOD_5 ( ) { return ddf . platform . IDENT_0 . IDENT_10 . METHOD_6 ( ) ; } @ ddf . platform . IDENT_0 . Override MOD_0 org . apache . IDENT_3 . shell . api . IDENT_4 . IDENT_11 METHOD_7 ( ) { org . apache . IDENT_3 . shell . api . IDENT_4 . IDENT_11 IDENT_12 = mock ( org . apache . IDENT_3 . shell . api . IDENT_4 . IDENT_11 . class ) ; when ( IDENT_12 . create ( METHOD_8 ( java . io . InputStream . class ) , any ( ) , any ( ) ) ) . thenReturn ( session ) ; return IDENT_12 ; } } ; java . lang . String command = ddf . platform . IDENT_0 . IDENT_10 . IDENT_13 ; IDENT_8 . execute ( METHOD_9 ( command ) ) ; "<AssertPlaceHolder>" ; verify ( session , times ( 1 ) ) . execute ( command ) ; verify ( session , times ( 1 ) ) . close ( ) ; } METHOD_10 ( ) { return IDENT_14 ; }
org . junit . Assert . assertThat ( IDENT_2 . METHOD_10 ( ) , org . hamcrest . Matchers . is ( command ) )