public static void GetAsync_Returns_WithoutJoinsWithoutIEntity()
        {
            var repo   = new NewRepository(Factory);
            New result = null;

            Assert.DoesNotThrowAsync(async() => result = await repo.GetAsync(new New {
                Key = 1
            }, Connection));
            Assert.That(result, Is.Not.Null);
            Assert.That(result.Key, Is.EqualTo(1));
        }
        public static void GetAsync_Returns_WithoutJoinsWithUnitOfWorkWithoutIEntity()
        {
            var repo   = new NewRepository(Factory);
            New result = null;

            using (var uow = Connection.UnitOfWork(IsolationLevel.Serializable))
            {
                Assert.DoesNotThrowAsync(async() => result = await repo.GetAsync(new New {
                    Key = 1
                }, uow));
            }
            Assert.That(result, Is.Not.Null);
            Assert.That(result.Key, Is.EqualTo(1));
        }