Example #1
0
        public void should_create_an_event_group_builder_with_the_expected_properties()
        {
            var applications = _eventGroupBuilder.FindByName(Constants.APPLICATIONS);

            applications.ShouldNotBeNull();
            var tags = new Tags(new[] { new Tag(Constants.ROOT_CONTAINER_TAG) });

            applications.SourceCriteria.IsSatisfiedBy(tags).ShouldBeTrue();
        }
        public void should_create_an_event_group_builder_with_the_expected_properties()
        {
            var applications = _eventGroupBuilder.FindByName(Constants.APPLICATIONS);

            applications.ShouldNotBeNull();
            var rootContainer = new Container();

            rootContainer.AddTag(Constants.ROOT_CONTAINER_TAG);
            applications.SourceCriteria.IsSatisfiedBy(new EntityDescriptor(rootContainer)).ShouldBeTrue();
        }