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); }