Пример #1
0
 public void ApiWrongMultipleFormatDateTest()
 {
     Assert.ThrowsException <AggregateException>((() => Vat.GetSubject("5842334017,9570510820,5842327603", "05052019")));
 }
Пример #2
0
 public void ApiWrongMultipleNipTest()
 {
     Assert.ThrowsException <AggregateException>((() => Vat.GetSubject("5842334017,9570510820,5842327603,65645453453543543534534", "2019-11-03")));
 }
Пример #3
0
 public void ApiWrongNipTest()
 {
     Assert.ThrowsException <AggregateException>((() => Vat.GetSubject("5842343243252334017", "2019-11-01")));
 }
Пример #4
0
 public void ApiWrongFormatDateTest()
 {
     Assert.ThrowsException <AggregateException>((() => Vat.GetSubject("5842334017", "05052019")));
 }
Пример #5
0
        public void ApiPositiveTest()
        {
            var response = Vat.GetSubject("5842334017", "2019-11-01");

            Assert.IsNotNull(response);
        }