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