public void SqlBatch_ReturnsSameBatchTextAsPassed() { string s = StaticFiles.SimpleSelect(); SqlBatch b = new SqlBatch(s); Assert.AreEqual(s, b.BatchText()); Assert.AreEqual(21, b.BatchText().Length, "expected this specific length because that's what is in the file."); }
public void CreateParser_DoesNotCrash() { SqlBatch b = new SqlBatch(""); Assert.IsNotNull(b, "should be able to create batch."); }