public void TwoDataTemplates()
        {
            DataTemplateManager.Instance.AddTemplate(new SimpleDataTemplate <object>((controller) => new ReegaView()));
            DataTemplateManager.Instance.AddTemplate(new SimpleDataTemplate <string>((controller) => new ReegaView()));
            IDataTemplate dt = DataTemplateManager.Instance.GetTemplate <object>();

            Assert.NotNull(dt);
            Assert.Equal(typeof(object), dt.DataObjectClass);
            Assert.IsType <ReegaView>(dt.ControlFactory(new()));
            IDataTemplate secondDt = DataTemplateManager.Instance.GetTemplate <string>();

            Assert.NotNull(secondDt);
            Assert.Equal(typeof(string), secondDt.DataObjectClass);
            Assert.IsType <ReegaView>(secondDt.ControlFactory(string.Empty));
        }