func (d *Installer) WaitForStart() (ok bool, err error) {
	if d.hasError {
		err = fmt.Errorf("fake error")
	}
	ok = true
	return
}
WaitForStart waits for the service be started
package fake
import "fmt"
type Installer struct {
	hasError bool
	support  bool
}
func NewFakeInstaller(support bool, hasError bool) *Installer {
	return &Installer{
		hasError: hasError,
		support:  support,
	}
}
func (d *Installer) Available() bool {
	return true
}
func (d *Installer) Install() (err error) {
	if d.hasError {
		err = fmt.Errorf("fake error")
	}
	return
}
func (d *Installer) Uninstall() (err error) {
	if d.hasError {
		err = fmt.Errorf("fake error")
	}
	return
}