public async Task NoPrimaryKeyTable_CanInsertDefaultDataWithEmptyDataSetRow() { await TestRunner.InsertDataAsync(_tableName, new DataSetRow()); QueryResult results = await TestRunner.ExecuteTableAsync(_tableName); results .AssertRowCount(1) .AssertColumnExists("Id") .AssertValue(0, "Id", Comparisons.IsNull()); }
public async Task NoPrimaryKeyTable_CanInsertDefaultData_Twice_BothNull() { await TestRunner.InsertDefaultAsync(_tableName); await TestRunner.InsertDefaultAsync(_tableName); QueryResult results = await TestRunner.ExecuteTableAsync(_tableName); results .AssertRowCount(2) .AssertColumnExists("Id") .AssertValue(0, "Id", Comparisons.IsNull()) .AssertValue(1, "Id", Comparisons.IsNull()); }