|
| 1 | +using FluentAssertions; |
| 2 | +using OpenApiClientTests.NamingConvention.KebabCase.GeneratedCode; |
| 3 | +using Xunit; |
| 4 | + |
| 5 | +namespace OpenApiClientTests.NamingConvention.KebabCase |
| 6 | +{ |
| 7 | + public sealed class GeneratedTypesTests |
| 8 | + { |
| 9 | + [Fact] |
| 10 | + public void Generated_code_is_named_as_expected() |
| 11 | + { |
| 12 | + nameof(KebabCaseClient.GetSupermarketCollectionAsync).Should().NotBeNull(); |
| 13 | + nameof(KebabCaseClient.GetSupermarketCollectionAsync).Should().NotBeNull(); |
| 14 | + nameof(KebabCaseClient.PostSupermarketAsync).Should().NotBeNull(); |
| 15 | + nameof(KebabCaseClient.GetSupermarketAsync).Should().NotBeNull(); |
| 16 | + nameof(KebabCaseClient.GetSupermarketAsync).Should().NotBeNull(); |
| 17 | + nameof(KebabCaseClient.PatchSupermarketAsync).Should().NotBeNull(); |
| 18 | + nameof(KebabCaseClient.DeleteSupermarketAsync).Should().NotBeNull(); |
| 19 | + nameof(KebabCaseClient.GetSupermarketBackupStoreManagerAsync).Should().NotBeNull(); |
| 20 | + nameof(KebabCaseClient.GetSupermarketBackupStoreManagerAsync).Should().NotBeNull(); |
| 21 | + nameof(KebabCaseClient.GetSupermarketBackupStoreManagerRelationshipAsync).Should().NotBeNull(); |
| 22 | + nameof(KebabCaseClient.GetSupermarketBackupStoreManagerRelationshipAsync).Should().NotBeNull(); |
| 23 | + nameof(KebabCaseClient.PatchSupermarketBackupStoreManagerRelationshipAsync).Should().NotBeNull(); |
| 24 | + nameof(KebabCaseClient.GetSupermarketCashiersAsync).Should().NotBeNull(); |
| 25 | + nameof(KebabCaseClient.GetSupermarketCashiersAsync).Should().NotBeNull(); |
| 26 | + nameof(KebabCaseClient.GetSupermarketCashiersRelationshipAsync).Should().NotBeNull(); |
| 27 | + nameof(KebabCaseClient.GetSupermarketCashiersRelationshipAsync).Should().NotBeNull(); |
| 28 | + nameof(KebabCaseClient.PostSupermarketCashiersRelationshipAsync).Should().NotBeNull(); |
| 29 | + nameof(KebabCaseClient.PatchSupermarketCashiersRelationshipAsync).Should().NotBeNull(); |
| 30 | + nameof(KebabCaseClient.DeleteSupermarketCashiersRelationshipAsync).Should().NotBeNull(); |
| 31 | + nameof(KebabCaseClient.GetSupermarketStoreManagerAsync).Should().NotBeNull(); |
| 32 | + nameof(KebabCaseClient.GetSupermarketStoreManagerAsync).Should().NotBeNull(); |
| 33 | + nameof(KebabCaseClient.GetSupermarketStoreManagerRelationshipAsync).Should().NotBeNull(); |
| 34 | + nameof(KebabCaseClient.GetSupermarketStoreManagerRelationshipAsync).Should().NotBeNull(); |
| 35 | + nameof(KebabCaseClient.PatchSupermarketStoreManagerRelationshipAsync).Should().NotBeNull(); |
| 36 | + |
| 37 | + nameof(SupermarketCollectionResponseDocument).Should().NotBeNull(); |
| 38 | + nameof(LinksInResourceCollectionDocument).Should().NotBeNull(); |
| 39 | + nameof(JsonapiObject).Should().NotBeNull(); |
| 40 | + nameof(SupermarketDataInResponse).Should().NotBeNull(); |
| 41 | + nameof(SupermarketsResourceType).Should().NotBeNull(); |
| 42 | + nameof(SupermarketAttributesInResponse.NameOfCity).Should().NotBeNull(); |
| 43 | + nameof(SupermarketRelationshipsInResponse.StoreManager).Should().NotBeNull(); |
| 44 | + nameof(SupermarketRelationshipsInResponse.BackupStoreManager).Should().NotBeNull(); |
| 45 | + nameof(LinksInResourceObject).Should().NotBeNull(); |
| 46 | + nameof(SupermarketType).Should().NotBeNull(); |
| 47 | + nameof(KebabCaseClient.GetSupermarketAsync).Should().NotBeNull(); |
| 48 | + nameof(ToOneStaffMemberInResponse).Should().NotBeNull(); |
| 49 | + nameof(NullableToOneStaffMemberInResponse).Should().NotBeNull(); |
| 50 | + nameof(ToManyStaffMemberInResponse).Should().NotBeNull(); |
| 51 | + nameof(LinksInRelationshipObject).Should().NotBeNull(); |
| 52 | + nameof(StaffMemberIdentifier).Should().NotBeNull(); |
| 53 | + nameof(StaffMembersResourceType).Should().NotBeNull(); |
| 54 | + nameof(StaffMembersResourceType.StaffMembers).Should().NotBeNull(); |
| 55 | + nameof(SupermarketPrimaryResponseDocument).Should().NotBeNull(); |
| 56 | + nameof(LinksInResourceDocument).Should().NotBeNull(); |
| 57 | + nameof(StaffMemberSecondaryResponseDocument).Should().NotBeNull(); |
| 58 | + nameof(StaffMemberDataInResponse).Should().NotBeNull(); |
| 59 | + nameof(StaffMemberAttributesInResponse).Should().NotBeNull(); |
| 60 | + nameof(NullableStaffMemberSecondaryResponseDocument).Should().NotBeNull(); |
| 61 | + nameof(StaffMemberCollectionResponseDocument).Should().NotBeNull(); |
| 62 | + nameof(StaffMemberIdentifierResponseDocument).Should().NotBeNull(); |
| 63 | + nameof(LinksInResourceIdentifierDocument).Should().NotBeNull(); |
| 64 | + nameof(NullableStaffMemberIdentifierResponseDocument).Should().NotBeNull(); |
| 65 | + nameof(StaffMemberIdentifierCollectionResponseDocument).Should().NotBeNull(); |
| 66 | + nameof(LinksInResourceIdentifierCollectionDocument).Should().NotBeNull(); |
| 67 | + nameof(SupermarketPostRequestDocument).Should().NotBeNull(); |
| 68 | + nameof(SupermarketDataInPostRequest).Should().NotBeNull(); |
| 69 | + nameof(SupermarketAttributesInPostRequest).Should().NotBeNull(); |
| 70 | + nameof(SupermarketRelationshipsInPostRequest).Should().NotBeNull(); |
| 71 | + nameof(ToOneStaffMemberInRequest).Should().NotBeNull(); |
| 72 | + nameof(NullableToOneStaffMemberInRequest).Should().NotBeNull(); |
| 73 | + nameof(ToManyStaffMemberInRequest).Should().NotBeNull(); |
| 74 | + nameof(SupermarketPatchRequestDocument).Should().NotBeNull(); |
| 75 | + nameof(SupermarketDataInPatchRequest).Should().NotBeNull(); |
| 76 | + nameof(SupermarketAttributesInPatchRequest).Should().NotBeNull(); |
| 77 | + nameof(SupermarketRelationshipsInPatchRequest).Should().NotBeNull(); |
| 78 | + } |
| 79 | + } |
| 80 | +} |
0 commit comments