public void TimeEntryWhichHasDurationSetToNullCanHaveRivals()
        {
            var a = createTimeEntry(id: 1, duration: null);

            var canHaveRival = resolver.CanHaveRival(a);

            canHaveRival.Should().BeTrue();
        }
Exemple #2
0
        public void TimeEntryWhichHasDurationSetToNullCanHaveRivals()
        {
            var a = TimeEntry.Clean(new MockTimeEntry {
                Id = 1, Duration = null
            });

            var canHaveRival = resolver.CanHaveRival(a);

            canHaveRival.Should().BeTrue();
        }
        public void TimeEntryWhichHasStopTimeSetToNullCanHaveRivals()
        {
            var a = TimeEntry.Clean(new Ultrawave.Models.TimeEntry {
                Id = 1, Stop = null
            });

            var canHaveRival = resolver.CanHaveRival(a);

            canHaveRival.Should().BeTrue();
        }