public async Task CheckAvailabilityIsTrueTest() { AutoDto autoDto = await _autoClient.GetByIdAsync(new GetAutoByIdRequest { Id = 1 }); KundeDto kundeDto = await _kundeClient.GetByIdAsync(new GetKundeByIdRequest { Id = 1 }); ReservationDto reservationDto = new ReservationDto { Von = new DateTime(2100, 1, 11, 0, 0, 0, DateTimeKind.Utc).ToTimestamp(), Bis = new DateTime(2100, 1, 14, 0, 0, 0, DateTimeKind.Utc).ToTimestamp(), RowVersion = Google.Protobuf.ByteString.CopyFromUtf8(""), Auto = autoDto, Kunde = kundeDto }; Assert.True(_target.CarAvailability(reservationDto).IsAvailable); }