public void ApiWrongMultipleFormatDateTest() { Assert.ThrowsException <AggregateException>((() => Vat.GetSubject("5842334017,9570510820,5842327603", "05052019"))); }
public void ApiWrongMultipleNipTest() { Assert.ThrowsException <AggregateException>((() => Vat.GetSubject("5842334017,9570510820,5842327603,65645453453543543534534", "2019-11-03"))); }
public void ApiWrongNipTest() { Assert.ThrowsException <AggregateException>((() => Vat.GetSubject("5842343243252334017", "2019-11-01"))); }
public void ApiWrongFormatDateTest() { Assert.ThrowsException <AggregateException>((() => Vat.GetSubject("5842334017", "05052019"))); }
public void ApiPositiveTest() { var response = Vat.GetSubject("5842334017", "2019-11-01"); Assert.IsNotNull(response); }