2019-01-23 16:53:41 -05:00
|
|
|
package bsusurrogate
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
2020-12-17 16:29:25 -05:00
|
|
|
packersdk "github.com/hashicorp/packer-plugin-sdk/packer"
|
2019-01-23 16:53:41 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
func TestBuilder_ImplementsBuilder(t *testing.T) {
|
|
|
|
var raw interface{}
|
|
|
|
raw = &Builder{}
|
2020-12-01 16:42:11 -05:00
|
|
|
if _, ok := raw.(packersdk.Builder); !ok {
|
2019-01-23 16:53:41 -05:00
|
|
|
t.Fatal("Builder should be a builder")
|
|
|
|
}
|
|
|
|
}
|