METHOD_0 ( ) { int expected = 10 ; org . jboss . as . network . IDENT_0 IDENT_1 = new org . jboss . as . network . METHOD_1 ( java . util . Collections . METHOD_2 ( ) , java . net . IDENT_2 . METHOD_3 ( ) ) ; org . jboss . as . network . IDENT_3 IDENT_4 = mock ( org . jboss . as . network . IDENT_3 . class ) ; org . jboss . as . network . IDENT_5 binding = new org . jboss . as . network . METHOD_4 ( STRING_0 , expected , true , null , 0 , IDENT_1 , IDENT_4 , java . util . Collections . emptyList ( ) ) ; when ( this . listener . METHOD_5 ( ) ) . thenReturn ( binding ) ; int result = this . IDENT_6 . METHOD_0 ( ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( ) { return port ; }
org . junit . Assert . assertSame ( expected , result )