public static void PrepareRMSForUnitTests()
        {
            ResourceObject objectClass = CreateUnitTestObjectTypeIfDoesntExist();

            ResourceObject svStringAttribute    = UnitTestHelper.CreateAttributeTypeIfDoesntExist(AttributeStringSV, null, false, AttributeType.String);
            ResourceObject mvStringAttribute    = UnitTestHelper.CreateAttributeTypeIfDoesntExist(AttributeStringMV, null, true, AttributeType.String);
            ResourceObject svIntegerAttribute   = UnitTestHelper.CreateAttributeTypeIfDoesntExist(AttributeIntegerSV, null, false, AttributeType.Integer);
            ResourceObject mvIntegerAttribute   = UnitTestHelper.CreateAttributeTypeIfDoesntExist(AttributeIntegerMV, null, true, AttributeType.Integer);
            ResourceObject svReferenceAttribute = UnitTestHelper.CreateAttributeTypeIfDoesntExist(AttributeReferenceSV, null, false, AttributeType.Reference);
            ResourceObject mvReferenceAttribute = UnitTestHelper.CreateAttributeTypeIfDoesntExist(AttributeReferenceMV, null, true, AttributeType.Reference);
            ResourceObject svTextAttribute      = UnitTestHelper.CreateAttributeTypeIfDoesntExist(AttributeTextSV, null, false, AttributeType.Text);
            ResourceObject mvTextAttribute      = UnitTestHelper.CreateAttributeTypeIfDoesntExist(AttributeTextMV, null, true, AttributeType.Text);
            ResourceObject svDateTimeAttribute  = UnitTestHelper.CreateAttributeTypeIfDoesntExist(AttributeDateTimeSV, null, false, AttributeType.DateTime);
            ResourceObject mvDateTimeAttribute  = UnitTestHelper.CreateAttributeTypeIfDoesntExist(AttributeDateTimeMV, null, true, AttributeType.DateTime);
            ResourceObject svBinaryAttribute    = UnitTestHelper.CreateAttributeTypeIfDoesntExist(AttributeBinarySV, null, false, AttributeType.Binary);
            ResourceObject mvBinaryAttribute    = UnitTestHelper.CreateAttributeTypeIfDoesntExist(AttributeBinaryMV, null, true, AttributeType.Binary);
            ResourceObject svBooleanAttribute   = UnitTestHelper.CreateAttributeTypeIfDoesntExist(AttributeBooleanSV, null, false, AttributeType.Boolean);
            ResourceObject accountNameAttribute = UnitTestHelper.CreateAttributeTypeIfDoesntExist(AttributeNames.AccountName, null, false, AttributeType.String);

            UnitTestHelper.CreateBindingIfDoesntExist(objectClass, svStringAttribute);
            UnitTestHelper.CreateBindingIfDoesntExist(objectClass, mvStringAttribute);
            UnitTestHelper.CreateBindingIfDoesntExist(objectClass, svIntegerAttribute);
            UnitTestHelper.CreateBindingIfDoesntExist(objectClass, mvIntegerAttribute);
            UnitTestHelper.CreateBindingIfDoesntExist(objectClass, svReferenceAttribute);
            UnitTestHelper.CreateBindingIfDoesntExist(objectClass, mvReferenceAttribute);
            UnitTestHelper.CreateBindingIfDoesntExist(objectClass, svTextAttribute);
            UnitTestHelper.CreateBindingIfDoesntExist(objectClass, mvTextAttribute);
            UnitTestHelper.CreateBindingIfDoesntExist(objectClass, svDateTimeAttribute);
            UnitTestHelper.CreateBindingIfDoesntExist(objectClass, mvDateTimeAttribute);
            UnitTestHelper.CreateBindingIfDoesntExist(objectClass, svBinaryAttribute);
            UnitTestHelper.CreateBindingIfDoesntExist(objectClass, mvBinaryAttribute);
            UnitTestHelper.CreateBindingIfDoesntExist(objectClass, svBooleanAttribute);
            UnitTestHelper.CreateBindingIfDoesntExist(objectClass, accountNameAttribute);

            client.RefreshSchema();
        }