�In ‘PaymentService.cs’ you will find a method for making a payment. At a high level the steps for making a payment are:
Refactor the code with the following things in mind:
Add some unit tests to the PaymentServices.Tests project to show how you would test the code that you’ve produced.
The only specific ‘rules’ are:
You are free to use any frameworks/NuGet packages that you see fit. You should plan to spend around an hour completing the exercise.
The test can be found here to download, https://github.com/jondjones/PaymentServicesTest/
Software Architect, Programmer and Technologist Jon Jones is founder and CEO of London-based tech firm Digital Prompt. He has been working in the field for nearly a decade, specializing in new technologies and technical solution research in the web business. A passionate blogger by heart , speaker & consultant from England.. always on the hunt for the next challenge