tests
This commit is contained in:
		| @@ -0,0 +1,25 @@ | ||||
| using ApplicationLayer.Services.Applicants.Models; | ||||
| using Bogus; | ||||
| using Domains.ApplicantDomain; | ||||
|  | ||||
| namespace VisaApi.Fakers.Applicants.Requests | ||||
| { | ||||
|     public sealed class PlaceOfWorkModelFaker : Faker<PlaceOfWorkModel> | ||||
|     { | ||||
|         public PlaceOfWorkModelFaker() | ||||
|         { | ||||
|             RuleFor(m => m.Name, f => f.Company.CompanyName()); | ||||
|  | ||||
|             RuleFor(m => m.PhoneNum, f => f.Phone.PhoneNumber("###########")); | ||||
|  | ||||
|             RuleFor(m => m.Address, | ||||
|                 f => new AddressModel | ||||
|                 { | ||||
|                     Country = f.Address.Country(), | ||||
|                     City = f.Address.City(), | ||||
|                     Street = f.Address.StreetName(), | ||||
|                     Building = f.Address.BuildingNumber() | ||||
|                 }); | ||||
|         } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user