github.com/aspring/packer@v0.8.1-0.20150629211158-9db281ac0f89/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  }