package _old import ( "github.com/stretchr/testify/assert" "testing" ) func TestEntry_CanServeFalse(t *testing.T) { e := &entry{svc: nil} assert.False(t, e.canServe()) } func TestEntry_CanServeTrue(t *testing.T) { e := &entry{svc: &testService{}} assert.True(t, e.canServe()) }