Fluent APIs and cleaner Unit Tests

Ali Ashoori
3 min readJan 26, 2020

--

This post and its examples use C# to demonstrate the solutions but the overall approach (or mindset) is applicable using other programming languages too.

In this post, we want to quickly consider one of the approaches used in writing Unit Tests which brings more readable code and sometimes they can also help with maintaining the code-base better. It’s a good way of abstraction that delegates the object…

--

--