public void ScenarioOkay01Test() { // arrange DateTime von = new DateTime(2019, 1, 1); DateTime bis = new DateTime(2019, 1, 10); // act bool IsCorrect = _target.CheckDate(von, bis); // assert Xunit.Assert.True(IsCorrect); }
public bool CheckDate(ReservationDto reservation) { return(reservationManager.CheckDate(reservation.ConvertToEntity())); }