public void AssetReferenceUIRestriction_WithoutUNITYEDITOR_Initializes()
        {
            AssetReferenceUILabelRestriction uiLabelRest = new AssetReferenceUILabelRestriction(allowedLabels);
            string restAllowedLabels = uiLabelRest.ToString();

            Assert.IsNotEmpty(restAllowedLabels);
            Assert.AreEqual(restAllowedLabels, LabelsToString());
        }
        public IEnumerator AssetReferenceUILabelRestriction_WithoutUNITYEDITOR_Validates()
        {
            var op = m_Addressables.LoadAssetAsync <Texture>(textureName);

            yield return(op);

            AssetReferenceUILabelRestriction uiLabelRest = new AssetReferenceUILabelRestriction(allowedLabels);
            Texture tex     = op.Result;
            bool    isValid = uiLabelRest.ValidateAsset(tex);

            Assert.IsTrue(isValid);
            m_Addressables.Release(op);
        }