2023-05-03 18:02:11 +02:00
|
|
|
//go:build unit
|
|
|
|
// +build unit
|
|
|
|
|
2020-04-01 11:45:31 +02:00
|
|
|
package cmd
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestCloudFoundryCreateServiceKeyCommand(t *testing.T) {
|
2020-12-22 10:30:54 +02:00
|
|
|
t.Parallel()
|
2020-04-01 11:45:31 +02:00
|
|
|
|
|
|
|
testCmd := CloudFoundryCreateServiceKeyCommand()
|
|
|
|
|
2020-09-10 14:37:46 +02:00
|
|
|
// only high level testing performed - details are tested in step generation procedure
|
2020-04-01 11:45:31 +02:00
|
|
|
assert.Equal(t, "cloudFoundryCreateServiceKey", testCmd.Use, "command name incorrect")
|
|
|
|
|
|
|
|
}
|