aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/at/gv/egiz/moazs/App2MzsServiceTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/java/at/gv/egiz/moazs/App2MzsServiceTest.java b/src/test/java/at/gv/egiz/moazs/App2MzsServiceTest.java
index 8d7ee6f..cdb693a 100644
--- a/src/test/java/at/gv/egiz/moazs/App2MzsServiceTest.java
+++ b/src/test/java/at/gv/egiz/moazs/App2MzsServiceTest.java
@@ -68,6 +68,12 @@ public class App2MzsServiceTest {
}
@Test
+ public void rejectRequestWithoutSender() throws IOException, InterruptedException {
+ var response = sendDeliveryRequestFile("missingSender.soap");
+ assertEquals(500, response.statusCode());
+ }
+
+ @Test
public void rejectFormallyIncorrectDeliveryRequest() throws IOException, InterruptedException {
var response = sendDeliveryRequestFile("formallyIncorrectDeliveryRequest.soap");
assertEquals(500, response.statusCode());