Esempio n. 1
0
        public void TestCreateDeleteAllWithMappings()
        {
            // Setup
            var statementBuilder = new SqlDbStatementBuilder();
            var queryBuilder     = new QueryBuilder <TestCreateDeleteAllWithMappingsClass>();

            // Act
            var actual   = statementBuilder.CreateDeleteAll(queryBuilder);
            var expected = $"" +
                           $"DELETE " +
                           $"FROM [ClassName] ;";

            // Assert
            Assert.AreEqual(expected, actual);
        }