Method CheckEnvironmentsValid CheckEnvironmentsValid() Checks if set of environments is valid. There must be exactly one default environment. Declaration public void CheckEnvironmentsValid()