From 5ac1100c02912f7a45d2949d94cd33d054283139 Mon Sep 17 00:00:00 2001 From: kurczews Date: Mon, 13 Aug 2018 12:04:07 +0200 Subject: Renaming vid-automation #1 Change-Id: Ib5b576a931e37930119e440e965e491b1711d073 Issue-ID: VID-205 Signed-off-by: kurczews --- .../aai/PresetAAIGetSubscribersGetInvalidResponse.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/aai/PresetAAIGetSubscribersGetInvalidResponse.java (limited to 'vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/aai/PresetAAIGetSubscribersGetInvalidResponse.java') diff --git a/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/aai/PresetAAIGetSubscribersGetInvalidResponse.java b/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/aai/PresetAAIGetSubscribersGetInvalidResponse.java new file mode 100644 index 00000000..064c3078 --- /dev/null +++ b/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/aai/PresetAAIGetSubscribersGetInvalidResponse.java @@ -0,0 +1,17 @@ +package org.onap.simulator.presetGenerator.presets.aai; + +public class PresetAAIGetSubscribersGetInvalidResponse extends PresetAAIGetSubscribersGet { + private int httpCode; + + public PresetAAIGetSubscribersGetInvalidResponse(int httpCode) { + this.httpCode = httpCode; + } + + @Override + public int getResponseCode() { return httpCode; } + + @Override + public Object getResponseBody() { + return "this payload is an invalid json"; + } +} -- cgit 1.2.3-korg