TypeRegistrarBaseTests Class
This is a utility class for implementors of
ITypeRegistrar
and corresponding ITypeResolver
.
public sealed class TypeRegistrarBaseTests
- Namespace
- Spectre
.Console .Testing
Constructors
-
Type
Registrar Base Tests (Func < I Type Registrar> ) -
Initializes a new instance of the
TypeRegistrarBaseTests
class.
Methods
-
void RunAllTests
() - Runs all tests.
Extension Methods
-
T And
< Type Registrar Base Tests> (Action < Type Registrar Base Tests> ) - Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.