// WithVerifiedServer runs the given test function with a server channel that is verified
// at the end to make sure there are no leaks (e.g. no exchanges leaked).
WithVerifiedServer runs the given test function with a server channel that is verified
at the end to make sure there are no leaks .
// WithVerifiedServer runs the given test function with a server channel that is verified // at the end to make sure there are no leaks ( e . g . no exchanges leaked ) .
func WithVerifiedServer(t *testing.T, opts *testutils.ChannelOpts, f func(serverCh *Channel, hostPort string)) {
	testutils.WithTestServer(t, opts, func(t testing.TB, ts *testutils.TestServer) {
		f(ts.Server(), ts.HostPort())
	})
}
func WithVerifiedServer ( t * testing . T , opts * testutils . ChannelOpts , f func ( serverCh * Channel , hostPort string ) ) { testutils . WithTestServer ( t , opts , func ( t testing . TB , ts * testutils . TestServer ) { f ( ts . Server ( ) , ts . HostPort ( ) ) } ) }
WithVerifiedServer runs the given test function with a server channel that is verified
at the end to make sure there are no leaks .
WithVerifiedServer runs the given test function with a server channel that is verified at the end to make sure there are no leaks .