コード例 #1
0
        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);
        }
コード例 #2
0
 public void Arange()
 {
     _validator = new GetAccountLegalEntitiesValidator();
 }