2023-07-08 08:43:30 -06:00
|
|
|
package models_test
|
|
|
|
|
|
|
|
import (
|
2023-08-27 18:09:46 -06:00
|
|
|
"github.com/fastenhealth/fasten-onprem/backend/pkg/models"
|
2023-07-08 08:43:30 -06:00
|
|
|
"github.com/stretchr/testify/require"
|
|
|
|
"testing"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestOriginBaserInterface(t *testing.T) {
|
|
|
|
t.Parallel()
|
|
|
|
|
|
|
|
originBase := new(models.OriginBase)
|
|
|
|
|
|
|
|
//assert
|
|
|
|
require.Implements(t, (*models.OriginBaser)(nil), originBase, "should implement the OriginBase interface")
|
|
|
|
}
|