github.com/raghuse92/packer@v1.3.2/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 }