commit 865f2588377b7bba0200792e78179f49de8e7192 parent d39dc0a08537d31ccc6dbd2b8e59c4db4530c571 Author: MS <ms@taler.net> Date: Thu, 23 Jul 2020 11:18:34 +0200 test previous change Diffstat:
| A | sandbox/src/test/kotlin/EbicsErrorTest.kt | | | 19 | +++++++++++++++++++ |
1 file changed, 19 insertions(+), 0 deletions(-)
diff --git a/sandbox/src/test/kotlin/EbicsErrorTest.kt b/sandbox/src/test/kotlin/EbicsErrorTest.kt @@ -0,0 +1,18 @@ +import org.apache.xml.security.binding.xmldsig.SignatureType +import org.junit.Test +import tech.libeufin.util.XMLUtil +import tech.libeufin.util.ebics_h004.EbicsResponse +import tech.libeufin.util.ebics_h004.EbicsTypes + +class EbicsErrorTest { + + @Test + fun makeEbicsErrorResponse() { + val resp = EbicsResponse.createForUploadWithError( + "[EBICS_ERROR] abc", + "012345", + EbicsTypes.TransactionPhaseType.INITIALISATION + ) + println(XMLUtil.convertJaxbToString(resp)) + } +} +\ No newline at end of file