Testing Abstract Class Concrete Methods

.net, c#, unit-testing

Solution

You have to create a subclass that implements the abstract methods (with empty methods), but none of the concrete ones. This subclass should be for testing only (it should never go into your production code). Just ignore the overridden abstract methods in your unit tests and concentrate on the concrete methods.

Problem

How would I design and organize tests for the concrete methods of an abstract class? Specifically in .NET.

Original source