aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes/watch_test.go
blob: 46b2e5dc4c664fdb31485135314cebc3c283897e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package kubernetes

import (
	"testing"

	"github.com/coredns/coredns/plugin/pkg/watch"
)

func TestIsWatchable(t *testing.T) {
	k := &Kubernetes{}
	var i interface{} = k
	if _, ok := i.(watch.Watchable); !ok {
		t.Error("Kubernetes should implement watch.Watchable and does not")
	}
}