public void CanCheckAreDatesOverlapping(string from, string to, string from2, string to2, bool expected) { var actual = DateUtils.AreDatesOverlapping(DateTime.Parse(from), DateTime.Parse(to), DateTime.Parse(from2), DateTime.Parse(to2)); actual.ShouldBe(expected); }