Returning Different Values From A Method Call
Ever needed to return different values from a method call without exposing an enumerator? Let’s explore some options.
Ever needed to return different values from a method call without exposing an enumerator? Let’s explore some options.
Looking at another constructor parameter checking option when passing in an enum value.
Ever wanted to define a dependency as optional and only be loaded depending on consumption of your service?
Taking up the challenge from a tweet I explain my thought process on improving some code which will hopefully help someone.
How to set a value on an object passed to a mock to drive conditional logic further in the system under test