public void IsWeekend_Receiving_Weekend_Date() { // Arrange DateTime date = DateTime.Parse("28/07/2019"); // Act bool result = _helper.IsWeekend(date); // Assert Assert.IsTrue(result); }
protected override decimal GetSmallDogPrice(DateTime dateOfBath) { return((_helper.IsWeekend(dateOfBath)) ? SmallDogBathPrice = SmallDogBathPrice * ADD_PERCENT_WEEKEND : SmallDogBathPrice); }