public void SetInner(TestComWrapperFactory inner) { // Fail if the inner has open instances, since when they will be released, an error occurs, which will be much harder to find. _inner?.AssertNoInstancesOpen(); _inner = inner ?? throw new ArgumentNullException(nameof(inner)); }
public TestComWrapperFactoryWrapper(TestComWrapperFactory inner) { _inner = inner ?? throw new ArgumentNullException(nameof(inner)); }