28 lines
459 B
Go
28 lines
459 B
Go
|
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)
|
||
|
}
|
||
|
})
|
||
|
}
|
||
|
}
|