예제 #1
0
        public void BuildSalaryShouldBuildByGivenAmountAndCurrency()
        {
            Salary salary = SalaryProvider.Get();
            Salary result = _service.BuildSalary(salary.Amount.ToString(), salary.Currency.ToString());

            result.Should().Match <Salary>(r => r.Amount == salary.Amount && r.Currency == salary.Currency);
        }