コード例 #1
0
        public void Arrange()
        {
            _validator = new CreateCommitmentCommandValidator();

            _validCommand = new CreateCommitmentCommand
            {
                Commitment = new Commitment
                {
                    LegalEntityId     = "001",
                    LegalEntityName   = "Test Legal Entity Name",
                    EmployerAccountId = 2,
                    ProviderId        = 3,
                    ProviderName      = "Test provider"
                },
                UserId = "TestUser"
            };
        }
        public void Arrange()
        {
            _validator = new CreateCommitmentCommandValidator();

            _validCommand = new CreateCommitmentCommand
            {
                Commitment = new Commitment
                {
                    LegalEntityId          = "001",
                    LegalEntityName        = "Test Legal Entity Name",
                    EmployerAccountId      = 2,
                    ProviderName           = "Test provider",
                    EmployerLastUpdateInfo = new LastUpdateInfo {
                        Name = "Test User", EmailAddress = "*****@*****.**"
                    }
                }
            };
        }