METHOD_0 ( ) { io . IDENT_0 . server . IDENT_1 IDENT_2 = new io . IDENT_0 . server . METHOD_1 ( null ) ; io . IDENT_0 . server . session . IDENT_3 config = mock ( io . IDENT_0 . server . session . IDENT_3 . class ) ; when ( config . METHOD_2 ( IDENT_2 ) ) . thenReturn ( null ) ; io . IDENT_0 . server . session . IDENT_4 IDENT_5 = this . adapter . METHOD_3 ( IDENT_2 , config ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( io . IDENT_0 . server . METHOD_1 , io . IDENT_0 . server . session . IDENT_3 ) { if ( IDENT_2 != null ) { io . IDENT_0 . server . session . IDENT_4 IDENT_6 = IDENT_2 . METHOD_4 ( this . key ) ; if ( IDENT_6 != null ) { return IDENT_6 ; } } if ( config == null ) { throw IDENT_7 . IDENT_8 . METHOD_5 ( ) ; } java . lang . String id = config . METHOD_2 ( IDENT_2 ) ; if ( id == null ) { return null ; } if ( ! ( org . wildfly . IDENT_9 . web . IDENT_0 . session . IDENT_10 . IDENT_11 . validate ( id ) ) ) { return null ; } boolean close = true ; java . util . function . IDENT_12 < io . IDENT_0 . server . METHOD_1 > IDENT_13 = this . METHOD_6 ( ) ; try { org . wildfly . IDENT_9 . IDENT_14 . IDENT_15 < org . wildfly . IDENT_9 . IDENT_14 . IDENT_16 > IDENT_17 = this . manager . METHOD_7 ( ) ; org . wildfly . IDENT_9 . IDENT_14 . IDENT_16 batch = IDENT_17 . METHOD_8 ( ) ; try { org . wildfly . IDENT_9 . web . session . IDENT_4 < org . wildfly . IDENT_9 . web . IDENT_0 . session . IDENT_18 > session = this . manager . METHOD_9 ( id ) ; if ( session == null ) { return null ; } io . IDENT_0 . server . session . IDENT_4 result = new org . wildfly . IDENT_9 . web . IDENT_0 . session . METHOD_10 ( this , session , config , IDENT_17 . METHOD_11 ( ) , IDENT_13 ) ; if ( IDENT_2 != null ) { IDENT_2 . METHOD_12 ( this . key , result ) ; } close = false ; return result ; } catch ( java . lang . RuntimeException | java . lang . IDENT_19 e ) { batch . METHOD_13 ( ) ; throw e ; } finally { if ( close ) { batch . close ( ) ; } } } finally { if ( close ) { IDENT_13 . accept ( IDENT_2 ) ; } } }
org . junit . Assert . assertNull ( IDENT_5 )