github.com/kikitux/packer@v0.10.1-0.20160322154024-6237df566f9f/packer/communicator_mock_test.go (about) 1 package packer 2 3 import ( 4 "testing" 5 ) 6 7 func TestMockCommunicator_impl(t *testing.T) { 8 var raw interface{} 9 raw = new(MockCommunicator) 10 if _, ok := raw.(Communicator); !ok { 11 t.Fatal("should be a communicator") 12 } 13 }