public void InitializeCreatesRegionAndAttachesBehaviors()
        {
            NewWindowRegionAdapter adapter = new NewWindowRegionAdapter(null);
            var region = adapter.Initialize(new NewWindowControl(), "Region");

            Assert.IsInstanceOfType(region, typeof(Region));
            Assert.IsTrue(region.Behaviors.ContainsKey("NewWindowRegionBehavior"));
        }
        public void InitializeCreatesRegionAndAttachesBehaviors()
        {
            NewWindowRegionAdapter adapter = new NewWindowRegionAdapter(null);
            var region = adapter.Initialize(new NewWindowControl(), "Region");

            Assert.IsInstanceOfType(region, typeof(Region));
            Assert.IsTrue(region.Behaviors.ContainsKey("NewWindowRegionBehavior"));
        }