func TestNewRingpopRemoteServiceAdapter(t *testing.T) {
	rp := &mocks.Ringpop{}
	rp.On("AddListener", mock.Anything).Return(false)
	serviceImpl := &servicemocks.TChanRemoteService{}
	adapter, err := NewRingpopRemoteServiceAdapter(serviceImpl, rp, nil, RemoteServiceConfiguration{
		RemoteCall: &RemoteServiceRemoteCallConfiguration{
			Key: func(ctx thrift.Context, name shared.Name) (string, error) {
				return string(name), nil
			},
		},
	})
	assert.Equal(t, err, nil, "creation of adator gave an error")
	assert.NotEqual(t, adapter, nil, "adapter not created")
}
go:generate mkdir -p .gen/go
go:generate thrift-gen --generateThrift --outputDir .gen/go --inputFile remoteservice.thrift --template github.com/uber/ringpop-go/ringpop.thrift-gen -packagePrefix github.com/uber/ringpop-go/test/remoteservice/.gen/go/
go:generate mockery -dir=.gen/go/remoteservice -name=TChanRemoteService
package remoteservice
import (
	"testing"
	"time"
	"github.com/uber/ringpop-go/forward"
	"github.com/stretchr/testify/assert"
	"github.com/stretchr/testify/mock"
	"github.com/uber/ringpop-go/router"
	"github.com/uber/ringpop-go/test/mocks"
	. "github.com/uber/ringpop-go/test/remoteservice/.gen/go/remoteservice"
	shared "github.com/uber/ringpop-go/test/remoteservice/.gen/go/shared"
	servicemocks "github.com/uber/ringpop-go/test/remoteservice/mocks"
	"github.com/uber/tchannel-go"
	"github.com/uber/tchannel-go/thrift"
)
var _ = shared.GoUnusedProtection__