internal void GetOtherUdtInfo_GetsEntryNotInCache_ReturnsDefault(Mock <IMemoryCache> memoryCache, string name)
        {
            var cache = new ServForOracleCache(memoryCache.Object);

            (OracleUdtInfo Info, UdtPropertyNetPropertyMap[] Props, bool FuzzyMatch)expectedValue = default;
            object validParameter = null;

            memoryCache.Setup(m => m.TryGetValue($"udt-{name}", out validParameter))
            .Returns(false);

            var actualValue = cache.GetOtherUdtInfo(name);

            Assert.Equal(expectedValue, actualValue);
        }
        internal void GetOtherUdtInfo_GetsEntryInCache(Mock <IMemoryCache> memoryCache, string name, OracleUdtInfo info, UdtPropertyNetPropertyMap[] props, bool fuzzyNameMatch)
        {
            var cache = new ServForOracleCache(memoryCache.Object);

            var    expectedValue  = (info, props, fuzzyNameMatch);
            object validParameter = expectedValue;

            memoryCache.Setup(m => m.TryGetValue($"udt-{name}", out validParameter))
            .Returns(true);

            var actualValue = cache.GetOtherUdtInfo(name);

            Assert.Equal(expectedValue, actualValue);
        }