func NewFakeInstaller(support bool, hasError bool) *Installer {
	return &Installer{
		hasError: hasError,
		support:  support,
	}
}
NewFakeInstaller returns a Installer
package fake
import "fmt"
type Installer struct {
	hasError bool
	support  bool
}