public void Arrange() { _employerAccountApi = new Mock <IEmployerAccountService>(); _employerAccountApi.Setup(x => x.GetUserRoleOnAccount(It.IsAny <string>(), It.IsAny <string>())).ReturnsAsync(new TeamMember { UserRef = "ref" }); _validator = new GetAccountLegalEntitiesValidator(_employerAccountApi.Object); }
public void Arange() { _validator = new GetAccountLegalEntitiesValidator(); }