Пример #1
0
        public void TestSingletonSetupInstance()
        {
            // ReSharper disable once UnusedVariable
            var instance = Singleton.UMVC.Instance;

            Assert.NotNull(StaticDerivedUMVC.GetInternalInstance());
        }
Пример #2
0
        public void TestSingletonInitializeField()
        {
            var instance = DerivedUMVC.Instance;

            Assert.NotNull(StaticDerivedUMVC.GetInternalInstance());
            Assert.NotNull(instance.GetRelativePath());
            Assert.NotNull(instance.GetRootPath());
            Assert.NotNull(instance.LogoPath);
        }