METHOD_0 ( ) { java . net . URL url = new java . net . URL ( STRING_0 , STRING_1 , INT_0 , STRING_2 ) ; com . IDENT_0 . IDENT_1 . runtime . remote . IDENT_2 . IDENT_3 connection = mock ( com . IDENT_0 . IDENT_1 . runtime . remote . IDENT_2 . IDENT_3 . class ) ; com . IDENT_0 . IDENT_1 . runtime . remote . IDENT_2 . IDENT_4 IDENT_5 = mock ( com . IDENT_0 . IDENT_1 . runtime . remote . IDENT_2 . IDENT_4 . class ) ; when ( connection . METHOD_1 ( ) ) . thenReturn ( url ) ; when ( IDENT_5 . METHOD_2 ( ) ) . thenReturn ( INT_1 ) ; com . IDENT_0 . IDENT_1 . runtime . remote . IDENT_2 . IDENT_6 session = new com . IDENT_0 . IDENT_1 . runtime . remote . IDENT_2 . METHOD_3 ( connection ) ; session . METHOD_4 ( IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { return session . METHOD_5 ( ) ; }
org . junit . Assert . assertThat ( session . METHOD_5 ( ) , org . hamcrest . CoreMatchers . is ( INT_1 ) )