123456789101112131415161718192021222324252627 |
- package external
- import (
- "go-common/app/interface/main/app-feed/conf"
- "reflect"
- "testing"
- )
- func TestNew(t *testing.T) {
- type args struct {
- c *conf.Config
- }
- tests := []struct {
- name string
- args args
- want *Service
- }{
- // TODO: Add test cases.
- }
- for _, tt := range tests {
- t.Run(tt.name, func(t *testing.T) {
- if got := New(tt.args.c); !reflect.DeepEqual(got, tt.want) {
- t.Errorf("New() = %v, want %v", got, tt.want)
- }
- })
- }
- }
|