If you must test an abstract base class, derive from it. Otherwise, test the public API, because that's what matters most.