コード例 #1
0
        public void OpenConnectionIsAccepted()
        {
            var connection = new TestDbConnection();

            connection.Open();
            Assert.DoesNotThrow(() => SutFactory(connection));
        }
コード例 #2
0
        private static ConnectedSqlCommandExecutor SutFactory()
        {
            var connection = new TestDbConnection();

            connection.Open();
            return(SutFactory(connection));
        }