Exemple #1
0
        public void Confirm_WhenGroupIsPresent()
        {
            var toAdd = fixture.Create <ScheduleGroup>();

            monitor = new GroupsMonitor(new List <IScheduleGroup>()
            {
                toAdd
            });
            Assert.True(monitor.IsGroupPresent(toAdd));
        }
Exemple #2
0
        public void ResponseFalse_WhenNoSuchGroup()
        {
            var other = fixture.Create <ScheduleGroup>();

            Assert.False(monitor.IsGroupPresent(other));
        }