public void GetWhenNotCompiled_MustReturnDefault()
        {
            var mgr = new ValueCompiledManager();
            var val = mgr.GetCompiled(1);

            Assert.IsNull(val);
        }
        public void GetWhenCompiled_MustReturnSingleInstance()
        {
            var mgr = new ValueCompiledManager();
            var a   = mgr.EnsureGetCompiled(1);
            var b   = mgr.GetCompiled(1);

            Assert.AreEqual(a, b);
            var c = mgr.EnsureGetCompiled(1);

            Assert.AreEqual(a, c);
        }