| 1 | import 'package:test/test.dart'; |
| 2 | import 'package:openapi/openapi.dart'; |
| 3 | |
| 4 | // tests for FlightBookingEntity |
| 5 | void main() { |
| 6 | final instance = FlightBookingEntityBuilder(); |
| 7 | // TODO add properties to the builder and call build() |
| 8 | |
| 9 | group(FlightBookingEntity, () { |
| 10 | // Unique booking identifier |
| 11 | // String id |
| 12 | test('to test the property `id`', () async { |
| 13 | // TODO |
| 14 | }); |
| 15 | |
| 16 | // Booking code/confirmation code (e.g., \"ABC123\") |
| 17 | // JsonObject bookingCode |
| 18 | test('to test the property `bookingCode`', () async { |
| 19 | // TODO |
| 20 | }); |
| 21 | |
| 22 | // Seat number (e.g., \"12A\", \"1F\") |
| 23 | // JsonObject seatNumber |
| 24 | test('to test the property `seatNumber`', () async { |
| 25 | // TODO |
| 26 | }); |
| 27 | |
| 28 | // Type of seat position |
| 29 | // String seatType |
| 30 | test('to test the property `seatType`', () async { |
| 31 | // TODO |
| 32 | }); |
| 33 | |
| 34 | // Class of service |
| 35 | // String seatingClass |
| 36 | test('to test the property `seatingClass`', () async { |
| 37 | // TODO |
| 38 | }); |
| 39 | |
| 40 | // Reason for the flight |
| 41 | // String reason |
| 42 | test('to test the property `reason`', () async { |
| 43 | // TODO |
| 44 | }); |
| 45 | |
| 46 | // Additional notes about the booking |
| 47 | // JsonObject notes |
| 48 | test('to test the property `notes`', () async { |
| 49 | // TODO |
| 50 | }); |
| 51 | |
| 52 | // Flight ID associated with this booking |
| 53 | // String flightId |
| 54 | test('to test the property `flightId`', () async { |
| 55 | // TODO |
| 56 | }); |
| 57 | |
| 58 | // User ID who owns this booking |
| 59 | // String userId |
| 60 | test('to test the property `userId`', () async { |
| 61 | // TODO |
| 62 | }); |
| 63 | |
| 64 | // Date and time when the booking was created |
| 65 | // DateTime createdAt |
| 66 | test('to test the property `createdAt`', () async { |
| 67 | // TODO |
| 68 | }); |
| 69 | |
| 70 | // Date and time when the booking was last updated |
| 71 | // DateTime updatedAt |
| 72 | test('to test the property `updatedAt`', () async { |
| 73 | // TODO |
| 74 | }); |
| 75 | |
| 76 | }); |
| 77 | } |