Mocking TcpClient
Sometimes I want to unit test the pieces of my code that are close to the transport layer, but often they are so close to the metal that it is hard to separate them. There’s really not a great way to abstract out the communication layer, so you just have to bite the bullet and … [Read more…]