public void CanCreateObject_IList_ReturnsTrue()
        {
            // Arrange

            var creator = new DocumentProxyTypeCreator();

            // Act

            var result = creator.CanCreateObject(typeof(IList<Poco>));

            // Assert

            Assert.IsTrue(result);
        }
        public void CanCreateObject_SealedPOCO_ReturnsTrue()
        {
            // Arrange

            var creator = new DocumentProxyTypeCreator();

            // Act

            var result = creator.CanCreateObject(typeof(SealedPoco));

            // Assert

            Assert.IsFalse(result);
        }
        public void CreateObject_IList_ReturnsDocumentCollection()
        {
            // Arrange

            var creator = new DocumentProxyTypeCreator();

            // Act

            var result = creator.CreateObject(typeof(IList<Poco>));

            // Assert

            Assert.IsNotNull(result as DocumentCollection<Poco>);
        }
        public void CreateObject_POCO_ReturnsProxy()
        {
            // Arrange

            var creator = new DocumentProxyTypeCreator();

            // Act

            var result = creator.CreateObject(typeof(Poco));

            // Assert

            Assert.IsNotNull(result as ITrackedDocumentNode);
        }