METHOD_0 ( ) { this . validate ( ( session ) -> session . METHOD_0 ( ) ) ; org . wildfly . IDENT_0 . web . session . IDENT_1 < org . wildfly . IDENT_0 . web . IDENT_2 . session . IDENT_3 , org . wildfly . IDENT_0 . IDENT_4 . IDENT_5 > manager = mock ( org . wildfly . IDENT_0 . web . session . IDENT_1 . class ) ; org . wildfly . IDENT_0 . IDENT_4 . IDENT_6 < org . wildfly . IDENT_0 . IDENT_4 . IDENT_5 > IDENT_7 = mock ( org . wildfly . IDENT_0 . IDENT_4 . IDENT_6 . class ) ; org . wildfly . IDENT_0 . IDENT_4 . IDENT_8 context = mock ( org . wildfly . IDENT_0 . IDENT_4 . IDENT_8 . class ) ; org . wildfly . IDENT_0 . web . session . IDENT_9 IDENT_10 = mock ( org . wildfly . IDENT_0 . web . session . IDENT_9 . class ) ; long expected = INT_0 ; when ( this . manager . METHOD_1 ( ) ) . thenReturn ( manager ) ; when ( manager . METHOD_2 ( ) ) . thenReturn ( IDENT_7 ) ; when ( IDENT_7 . METHOD_3 ( this . batch ) ) . thenReturn ( context ) ; when ( this . session . METHOD_4 ( ) ) . thenReturn ( IDENT_10 ) ; when ( IDENT_10 . METHOD_0 ( ) ) . thenReturn ( java . time . IDENT_11 . METHOD_5 ( expected ) ) ; long result = this . adapter . METHOD_0 ( ) ; "<AssertPlaceHolder>" ; verify ( context ) . close ( ) ; } METHOD_0 ( ) { return this . IDENT_10 . METHOD_0 ( ) ; }
org . junit . Assert . assertEquals ( expected , result )