(t *testing.T)
| 30 | const cmdBind = "bind" |
| 31 | |
| 32 | func initializeBindCmdOptions(t *testing.T) (*bindCmdOptions, *cobra.Command, RootCmdOptions) { |
| 33 | t.Helper() |
| 34 | |
| 35 | fakeClient, _ := internal.NewFakeClient() |
| 36 | |
| 37 | options, rootCmd := kamelTestPreAddCommandInitWithClient(fakeClient) |
| 38 | bindCmdOptions := addTestBindCmd(*options, rootCmd) |
| 39 | kamelTestPostAddCommandInit(t, rootCmd, options) |
| 40 | |
| 41 | return bindCmdOptions, rootCmd, *options |
| 42 | } |
| 43 | |
| 44 | func addTestBindCmd(options RootCmdOptions, rootCmd *cobra.Command) *bindCmdOptions { |
| 45 | // add a testing version of bind Command |
no test coverage detected