aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-05-08 16:14:39 +0200
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-05-08 16:14:39 +0200
commit5108b1f367dd03d050646623ff3c1711baaf496f (patch)
tree1709c4e47b6e8eaed1fdf1a89c1f961f6b4662d7 /src/test/java
parent1c4112e016dbd0a0378c947d556f880c447ffa90 (diff)
downloadmoa-zs-5108b1f367dd03d050646623ff3c1711baaf496f.tar.gz
moa-zs-5108b1f367dd03d050646623ff3c1711baaf496f.tar.bz2
moa-zs-5108b1f367dd03d050646623ff3c1711baaf496f.zip
Remove Obsolete Validation Testcase
- Reason: Converter does not perform validation
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/at/gv/egiz/moazs/Mzs2MsgConverterTest.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/java/at/gv/egiz/moazs/Mzs2MsgConverterTest.java b/src/test/java/at/gv/egiz/moazs/Mzs2MsgConverterTest.java
index 29ad62c..d0df4db 100644
--- a/src/test/java/at/gv/egiz/moazs/Mzs2MsgConverterTest.java
+++ b/src/test/java/at/gv/egiz/moazs/Mzs2MsgConverterTest.java
@@ -57,19 +57,4 @@ public class Mzs2MsgConverterTest {
}
}
-
- @Test(expected = IllegalArgumentException.class)
- public void testNoSenderID() throws IOException {
-
- var fileName = basePath + "/mzsDeliveryRequestWithoutSenderID.xml";
-
- try (var inputStream = new BufferedInputStream(new FileInputStream(fileName))) {
-
- JAXBElement<DeliveryRequestType> mzsRequest = mzsMarshaller.unmarshallXml(inputStream);
-
- converter.convert(mzsRequest.getValue());
-
- }
-
- }
}