github.com/jbronn/packer@v0.1.6-0.20140120165540-8a1364dbd817/builder/amazon/chroot/communicator_test.go (about)

     1  package chroot
     2  
     3  import (
     4  	"github.com/mitchellh/packer/packer"
     5  	"testing"
     6  )
     7  
     8  func TestCommunicator_ImplementsCommunicator(t *testing.T) {
     9  	var raw interface{}
    10  	raw = &Communicator{}
    11  	if _, ok := raw.(packer.Communicator); !ok {
    12  		t.Fatalf("Communicator should be a communicator")
    13  	}
    14  }