func (s *EnvironmentCommandSuite) TestGetDefaultEnvironmentBothSet(c *C) {
	os.Setenv(osenv.JujuEnv, "magic")
	err := cmd.WriteCurrentEnvironment("fubar")
	c.Assert(err, IsNil)
	env := cmd.GetDefaultEnvironment()
	c.Assert(env, Equals, "magic")
}
func (s *EnvironmentCommandSuite) TestGetDefaultEnvironmentCurrentEnvironmentSet(c *C) {
	err := cmd.WriteCurrentEnvironment("fubar")
	c.Assert(err, IsNil)
	env := cmd.GetDefaultEnvironment()
	c.Assert(env, Equals, "fubar")
}
func (s *EnvironmentCommandSuite) TestGetDefaultEnvironmentJujuEnvSet(c *C) {
	os.Setenv(osenv.JujuEnv, "magic")
	env := cmd.GetDefaultEnvironment()
	c.Assert(env, Equals, "magic")
}
func (s *EnvironmentCommandSuite) TestGetDefaultEnvironmentNothingSet(c *C) {
	env := cmd.GetDefaultEnvironment()
	c.Assert(env, Equals, "")
}