chainserverinterceptors_test.go 319 B

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