public void Locator_Should_Discover_Two_Definitions_From_TabAuthorizedTypedPageData()
        {
            var typedPageData = new TabAuthorizedTypedPageData();
            TabDefinitionCollection tabDefinitions = new FakeTabDefinitionRepository().List();
            typedPageData.Property.Add(new PropertyString
                                           {
                                               Name = "PageName",
                                               OwnerTab = tabDefinitions.First(t => t.Name == "MetaData").ID
                                           });

            SetupTabBasedPropertiesAndPropertyGroupPageDataProperties(typedPageData);

            _locator = new AuthorizedPropertyDefinitionLocator(typedPageData, typedPageData.GetType(), new FakeTabDefinitionRepository());
            var actualDefinitionList = _locator.GetAuthorizedPropertyDefinitions();
            Assert.IsTrue(actualDefinitionList.Count == 2);
            
            //This is testing differnet functionality - should be a different test
            //var propertyOneDefinition = actualDefinitionList.Single(d => d.PropertyName == "Property1");
            //Assert.IsTrue(propertyOneDefinition.AuthorizedPrincipals.Contains("Role1"));

            //This is testing differnet functionality - should be a different test
            //var pageCategoryDefinition = actualDefinitionList.Single(d => d.PropertyName == "PageName");
            //Assert.IsTrue(pageCategoryDefinition.AuthorizedPrincipals.Contains("Role2"));
        }