bbe6f4188e
Feature/tests * improvetests * generation * simplifiedtesting * simplifiedtesting * longfile
22 lines
383 B
Go
22 lines
383 B
Go
package documentinit
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"queryorchestration/internal/serviceconfig"
|
|
"queryorchestration/internal/serviceconfig/queue/documentsync"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
type DocInitConfig struct {
|
|
serviceconfig.BaseConfig
|
|
documentsync.DocSyncConfig
|
|
}
|
|
|
|
func TestNewDocumentInitService(t *testing.T) {
|
|
svc := New(&DocInitConfig{})
|
|
assert.NotNil(t, svc)
|
|
|
|
}
|