public void InitializeTypeEnforcesCreationOfNewInstances() { var silkveilContainer1 = SilkveilContainerPool.GetInstance(); silkveilContainer1.Dispose(); SilkveilContainerPool.InitializeType(); var silkveilContainer2 = SilkveilContainerPool.GetInstance(); Assert.That(silkveilContainer1, Is.Not.SameAs(silkveilContainer2)); }
public void ResetSilkveilContainerPool() { SilkveilContainerPool.InitializeType(); }