func TestGetLogicalSwitchGroups(t *testing.T) {
	var (
		c *ov.OVClient
	)
	if os.Getenv("ONEVIEW_TEST_ACCEPTANCE") == "true" {
		_, c = getTestDriverA("test_logical_switch_group")
		if c == nil {
			t.Fatalf("Failed to execute getTestDriver() ")
		}
		logicalSwitchGroups, err := c.GetLogicalSwitchGroups("", "")
		assert.NoError(t, err, "GetLogicalSwitchGroups threw error -> %s, %+v\n", err, logicalSwitchGroups)

		logicalSwitchGroups, err = c.GetLogicalSwitchGroups("", "name:asc")
		assert.NoError(t, err, "GetLogicalSwitchGroups name:asc error -> %s, %+v\n", err, logicalSwitchGroups)

	} else {
		_, c = getTestDriverU("test_logical_switch_group")
		data, err := c.GetLogicalSwitchGroups("", "")
		assert.Error(t, err, fmt.Sprintf("ALL ok, no error, caught as expected: %s,%+v\n", err, data))
	}
}