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));
        }
Esempio n. 2
0
 public void AssertNoInstancesOpen()
 {
     _inner?.AssertNoInstancesOpen();
 }