github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/cmd/juju/setmeterstatus/export_test.go (about) 1 // Copyright 2016 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 package setmeterstatus 5 6 import ( 7 "github.com/juju/cmd" 8 9 "github.com/juju/juju/cmd/modelcmd" 10 "github.com/juju/juju/jujuclient" 11 ) 12 13 var NewClient = &newClient 14 15 func NewCommandForTest(store jujuclient.ClientStore) cmd.Command { 16 cmd := &SetMeterStatusCommand{} 17 cmd.SetClientStore(store) 18 return modelcmd.Wrap(cmd) 19 }