示例#1
0
 public void DSMAPI_With_NULL_Or_Empty_Values_Throws_ArgumentOutOfRangeException(string input)
 {
     Assert.That(() => mockClient.CreateDataset(input), Throws.TypeOf <ArgumentException>());
     Assert.That(() => mockClient.CreateRevision(input, StringMocks.ResourceId), Throws.TypeOf <ArgumentException>());
     Assert.That(() => mockClient.CreateSource(input, null, SodaDataFormat.CSV), Throws.TypeOf <ArgumentException>());
     Assert.That(() => mockClient.ExportErrorRows(input, null), Throws.TypeOf <ArgumentException>());
 }