Recently, I wanted to use a method for two different concrete classes that shared an interface. The solution? Using a generic method with type constraints.
Part of a series on writing request tests for a C# Azure Functions API in xUnit, this post shows how to use reflection to locate the HTTP triggered methods.