packer-cn/packer/communicator_mock_test.go

14 lines
218 B
Go
Raw Normal View History

package packer
import (
"testing"
)
func TestMockCommunicator_impl(t *testing.T) {
var raw interface{}
raw = new(MockCommunicator)
if _, ok := raw.(Communicator); !ok {
t.Fatal("should be a communicator")
}
}