예제 #1
0
        public void Constructor_Should_CreatesInstance()
        {
            // Arrange, Act
            var instance = new ResourcePoolManager();

            // Assert
            instance.ShouldNotBeNull();
        }
예제 #2
0
        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();
        }