public void Constructor_Should_CreatesInstance() { // Arrange, Act var instance = new ResourcePoolManager(); // Assert instance.ShouldNotBeNull(); }
public void ConstructorSPWeb_Should_CreatesInstance() { // Arrange var spWeb = new ShimSPWeb { IDGet = () => DummyGuid, SiteGet = () => new ShimSPSite { IDGet = () => DummyGuid } }; // Act var instance = new ResourcePoolManager(spWeb); // Assert instance.ShouldNotBeNull(); }