Skip to content

Commit 357c680

Browse files
committed
✅ add test for empty invoice total tax field
1 parent 6c54385 commit 357c680

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/java/com/mindee/product/invoice/InvoiceV4Test.java

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ void whenEmptyDeserialized_mustHaveValidProperties() throws IOException {
4545
Assertions.assertTrue(docPrediction.getTaxes().isEmpty());
4646
Assertions.assertTrue(docPrediction.getSupplierPaymentDetails().isEmpty());
4747
Assertions.assertNull(docPrediction.getSupplierName().getValue());
48+
Assertions.assertNull(docPrediction.getTotalTax().getValue());
4849
Assertions.assertTrue(docPrediction.getSupplierCompanyRegistrations().isEmpty());
4950
Assertions.assertNull(docPrediction.getSupplierAddress().getValue());
5051
Assertions.assertNull(docPrediction.getCustomerName().getValue());

0 commit comments

Comments
 (0)