chainclientinterceptors_test.go 319 B

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