github.com/lingyao2333/mo-zero@v1.4.1/zrpc/internal/chainclientinterceptors_test.go (about)

     1  package internal
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/stretchr/testify/assert"
     7  )
     8  
     9  func TestWithStreamClientInterceptors(t *testing.T) {
    10  	opts := WithStreamClientInterceptors()
    11  	assert.NotNil(t, opts)
    12  }
    13  
    14  func TestWithUnaryClientInterceptors(t *testing.T) {
    15  	opts := WithUnaryClientInterceptors()
    16  	assert.NotNil(t, opts)
    17  }