public async Task FindByIdAsyncTest(int reservationId, bool expectedStatus) { var reservation = await reservationLogic.FindByIdAsync(reservationId); if (expectedStatus) { Assert.NotNull(reservation); } else { Assert.Null(reservation); } }