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 ) ; this . validate ( IDENT_2 , ( session ) -> session . METHOD_0 ( IDENT_2 , config ) ) ; org . wildfly . IDENT_4 . web . session . IDENT_5 < org . wildfly . IDENT_4 . web . IDENT_0 . session . IDENT_6 , org . wildfly . IDENT_4 . IDENT_7 . IDENT_8 > manager = mock ( org . wildfly . IDENT_4 . web . session . IDENT_5 . class ) ; org . wildfly . IDENT_4 . IDENT_7 . IDENT_9 < org . wildfly . IDENT_4 . IDENT_7 . IDENT_8 > IDENT_10 = mock ( org . wildfly . IDENT_4 . IDENT_7 . IDENT_9 . class ) ; org . wildfly . IDENT_4 . IDENT_7 . IDENT_11 context = mock ( org . wildfly . IDENT_4 . IDENT_7 . IDENT_11 . class ) ; org . wildfly . IDENT_4 . web . session . IDENT_12 < org . wildfly . IDENT_4 . web . IDENT_0 . session . IDENT_6 > session = mock ( org . wildfly . IDENT_4 . web . session . IDENT_12 . class ) ; org . wildfly . IDENT_4 . web . session . IDENT_13 IDENT_14 = mock ( org . wildfly . IDENT_4 . web . session . IDENT_13 . class ) ; org . wildfly . IDENT_4 . web . session . IDENT_13 IDENT_15 = mock ( org . wildfly . IDENT_4 . web . session . IDENT_13 . class ) ; org . wildfly . IDENT_4 . web . session . IDENT_16 IDENT_17 = mock ( org . wildfly . IDENT_4 . web . session . IDENT_16 . class ) ; org . wildfly . IDENT_4 . web . session . IDENT_16 IDENT_18 = mock ( org . wildfly . IDENT_4 . web . session . IDENT_16 . class ) ; org . wildfly . IDENT_4 . web . IDENT_0 . session . IDENT_6 IDENT_19 = mock ( org . wildfly . IDENT_4 . web . IDENT_0 . session . IDENT_6 . class ) ; org . wildfly . IDENT_4 . web . IDENT_0 . session . IDENT_6 IDENT_20 = mock ( org . wildfly . IDENT_4 . web . IDENT_0 . session . IDENT_6 . class ) ; io . IDENT_0 . server . session . IDENT_21 listener = mock ( io . IDENT_0 . server . session . IDENT_21 . class ) ; io . IDENT_0 . server . session . IDENT_22 IDENT_23 = new io . IDENT_0 . server . session . METHOD_2 ( ) ; IDENT_23 . METHOD_3 ( listener ) ; java . lang . String IDENT_24 = STRING_0 ; java . lang . String IDENT_25 = STRING_1 ; java . lang . String name = "name" ; java . lang . Object value = new java . lang . Object ( ) ; java . time . IDENT_26 now = java . time . IDENT_26 . now ( ) ; java . time . IDENT_27 IDENT_28 = java . time . IDENT_27 . METHOD_4 ( INT_0 ) ; io . IDENT_0 . security . api . IDENT_29 . IDENT_30 IDENT_31 = new io . IDENT_0 . security . api . IDENT_29 . METHOD_5 ( null , null ) ; when ( this . manager . METHOD_6 ( ) ) . thenReturn ( manager ) ; when ( manager . METHOD_7 ( ) ) . thenReturn ( IDENT_10 ) ; when ( IDENT_10 . METHOD_8 ( this . batch ) ) . thenReturn ( context ) ; when ( manager . METHOD_9 ( ) ) . thenReturn ( IDENT_25 ) ; when ( manager . METHOD_10 ( IDENT_25 ) ) . thenReturn ( session ) ; when ( this . session . METHOD_11 ( ) ) . thenReturn ( IDENT_14 ) ; when ( this . session . METHOD_12 ( ) ) . thenReturn ( IDENT_17 ) ; when ( session . METHOD_11 ( ) ) . thenReturn ( IDENT_15 ) ; when ( session . METHOD_12 ( ) ) . thenReturn ( IDENT_18 ) ; when ( IDENT_14 . METHOD_13 ( ) ) . thenReturn ( java . util . Collections . METHOD_14 ( name ) ) ; when ( IDENT_14 . METHOD_15 ( name ) ) . thenReturn ( value ) ; when ( IDENT_15 . METHOD_16 ( name , value ) ) . thenReturn ( null ) ; when ( IDENT_17 . METHOD_17 ( ) ) . thenReturn ( now ) ; when ( IDENT_17 . METHOD_18 ( ) ) . thenReturn ( IDENT_28 ) ; when ( this . session . getId ( ) ) . thenReturn ( IDENT_24 ) ; when ( session . getId ( ) ) . thenReturn ( IDENT_25 ) ; when ( this . session . METHOD_19 ( ) ) . thenReturn ( IDENT_19 ) ; when ( session . METHOD_19 ( ) ) . thenReturn ( IDENT_20 ) ; when ( IDENT_19 . METHOD_20 ( ) ) . thenReturn ( IDENT_31 ) ; when ( this . manager . METHOD_21 ( ) ) . thenReturn ( IDENT_23 ) ; java . lang . String result = this . adapter . METHOD_0 ( IDENT_2 , config ) ; "<AssertPlaceHolder>" ; verify ( IDENT_18 ) . METHOD_22 ( now ) ; verify ( IDENT_18 ) . METHOD_23 ( IDENT_28 ) ; verify ( config ) . METHOD_24 ( IDENT_2 , IDENT_25 ) ; verify ( IDENT_20 ) . METHOD_25 ( METHOD_26 ( IDENT_31 ) ) ; verify ( listener ) . METHOD_27 ( this . adapter , IDENT_24 ) ; verify ( context ) . close ( ) ; } METHOD_0 ( io . IDENT_0 . server . METHOD_1 , io . IDENT_0 . server . session . IDENT_3 ) { return null ; }
org . junit . Assert . assertSame ( IDENT_25 , result )