METHOD_0 ( ) { io . IDENT_0 . server . IDENT_1 IDENT_2 = new io . IDENT_0 . server . METHOD_1 ( null ) ; org . wildfly . IDENT_3 . IDENT_4 . IDENT_5 < org . wildfly . IDENT_3 . IDENT_4 . IDENT_6 > IDENT_7 = mock ( org . wildfly . IDENT_3 . IDENT_4 . IDENT_5 . class ) ; org . wildfly . IDENT_3 . IDENT_4 . IDENT_6 batch = mock ( org . wildfly . IDENT_3 . IDENT_4 . IDENT_6 . class ) ; io . IDENT_0 . server . session . IDENT_8 config = mock ( io . IDENT_0 . server . session . IDENT_8 . class ) ; java . lang . String IDENT_9 = STRING_0 ; when ( config . METHOD_2 ( IDENT_2 ) ) . thenReturn ( IDENT_9 ) ; when ( this . manager . METHOD_3 ( IDENT_9 ) ) . thenReturn ( null ) ; when ( this . manager . METHOD_4 ( ) ) . thenReturn ( IDENT_7 ) ; when ( IDENT_7 . METHOD_5 ( ) ) . thenReturn ( batch ) ; java . lang . IllegalStateException exception = null ; try { this . adapter . METHOD_3 ( IDENT_2 , config ) ; } catch ( java . lang . IllegalStateException e ) { exception = e ; } "<AssertPlaceHolder>" ; verify ( batch ) . METHOD_6 ( ) ; verify ( batch ) . close ( ) ; } METHOD_3 ( java . lang . String , Map . Entry ) { org . wildfly . IDENT_3 . web . IDENT_10 . session . IDENT_11 < IDENT_12 > key = entry . getKey ( ) ; org . wildfly . IDENT_3 . web . IDENT_10 . session . IDENT_13 IDENT_14 = this . IDENT_15 . METHOD_7 ( id , key ) ; org . wildfly . IDENT_3 . web . IDENT_10 . session . IDENT_16 attributes = this . IDENT_17 . METHOD_8 ( id , entry . getValue ( ) ) ; return new org . wildfly . IDENT_3 . web . IDENT_10 . session . METHOD_9 ( id , IDENT_14 , attributes , key . METHOD_10 ( ) , this . IDENT_18 , this ) ; }
org . junit . Assert . assertNotNull ( exception )