func TestExecuteCommand(t *testing.T) {
	cliCommand := newCommandWithBinary([]string{"/"}, "ls")
	_, ok := cliCommand.Run()
	assert.True(t, ok)
}
ensure command can be executed
package kubectl
import (
	"github.com/stretchr/testify/assert"
	"os"
	"strings"
	"testing"
)
func TestCreateCommand(t *testing.T) {
	cliCommand := newCommand([]string{
		"hello",
		"world",
	})
	cmdString := strings.Join(cliCommand.getCommand().Args, " ")
	assert.Equal(t, "kubectl hello world", cmdString)
}
func TestCreateCommandContext(t *testing.T) {
	os.Setenv(ClusterContextEnv, "live-context")
	cliCommand := newCommand([]string{
		"hello",
		"world",
	})
	cmdString := strings.Join(cliCommand.getCommand().Args, " ")
	assert.Equal(t, "kubectl --context=live-context hello world", cmdString)
	os.Unsetenv(ClusterContextEnv)
}