Allow user-configurable DOCKER_HOST

This commit is contained in:
Brian DeHamer 2015-07-21 19:37:18 +00:00
parent 00f2875abf
commit 4ba21639a0
10 changed files with 202 additions and 35 deletions

View file

@ -0,0 +1,17 @@
package mockclient
import (
"reflect"
"testing"
"github.com/CenturyLinkLabs/watchtower/container"
)
func TestMockInterface(t *testing.T) {
iface := reflect.TypeOf((*container.Client)(nil)).Elem()
mock := &MockClient{}
if !reflect.TypeOf(mock).Implements(iface) {
t.Fatalf("Mock does not implement the Client interface")
}
}