service_test.go 459 B

123456789101112131415161718192021222324252627
  1. package external
  2. import (
  3. "go-common/app/interface/main/app-feed/conf"
  4. "reflect"
  5. "testing"
  6. )
  7. func TestNew(t *testing.T) {
  8. type args struct {
  9. c *conf.Config
  10. }
  11. tests := []struct {
  12. name string
  13. args args
  14. want *Service
  15. }{
  16. // TODO: Add test cases.
  17. }
  18. for _, tt := range tests {
  19. t.Run(tt.name, func(t *testing.T) {
  20. if got := New(tt.args.c); !reflect.DeepEqual(got, tt.want) {
  21. t.Errorf("New() = %v, want %v", got, tt.want)
  22. }
  23. })
  24. }
  25. }