package cli import ( "testing" ) func TestCliStopRequiresAServiceName(t *testing.T) { cli := GetCli() cli.SetArgs([]string{"stop"}) outcome := cli.Execute() if outcome == nil { t.Error("Expected error, got nil.") } }