public void Table_001() { var target = new SQLinqInsertResult(); var expected = "test"; target.Table = expected; var actual = target.Table; Assert.AreEqual(expected, actual); }
public void Parameters_001() { var target = new SQLinqInsertResult(); var expected = new Dictionary<string, object>(); target.Parameters = expected; var actual = target.Parameters; Assert.AreEqual(expected, actual); }
public void Fields_001() { var target = new SQLinqInsertResult(); var expected = new Dictionary<string, string>(); target.Fields = expected; var actual = target.Fields; Assert.AreEqual(expected, actual); }
public void ToQuery_Table_001() { var target = new SQLinqInsertResult() { Table = string.Empty, Fields = new Dictionary<string, string> { { "test", "test" } }, Parameters = new Dictionary<string, object> { { "test", 1 } } }; target.ToQuery(); }
public void ToQuery_Fields_002() { var target = new SQLinqInsertResult() { Table = "test", Fields = null, Parameters = new Dictionary<string, object> { { "test", 1 } } }; target.ToQuery(); }
public void Constructor() { var target = new SQLinqInsertResult(); }
public void ToQuery_Parameters_002() { var target = new SQLinqInsertResult() { Table = "test", Fields = new Dictionary<string, string> { { "test", "test" } }, Parameters = null }; target.ToQuery(); }