public void Fail2CheckAllowOrderOnlySameLocation() { var now = DateTime.Now; var time = now.AddHours(-20); var result = BizLogic.CheckAllowOrderOnlySameLocation(time, "here", "here"); Assert.AreEqual(false, result); }