diff options
Diffstat (limited to 'src/test/java/at')
-rw-r--r-- | src/test/java/at/gv/egiz/moazs/SaveResponseToFileSinkTest.java (renamed from src/test/java/at/gv/egiz/moazs/SafeResponseToFileSinkTest.java) | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/test/java/at/gv/egiz/moazs/SafeResponseToFileSinkTest.java b/src/test/java/at/gv/egiz/moazs/SaveResponseToFileSinkTest.java index c85c601..ca501c8 100644 --- a/src/test/java/at/gv/egiz/moazs/SafeResponseToFileSinkTest.java +++ b/src/test/java/at/gv/egiz/moazs/SaveResponseToFileSinkTest.java @@ -1,6 +1,6 @@ package at.gv.egiz.moazs; -import at.gv.egiz.moazs.process.SafeResponseToFileSink; +import at.gv.egiz.moazs.process.SaveResponseToFileSink; import at.gv.egiz.moazs.repository.DeliveryRepository; import at.gv.egiz.moazs.scheme.Marshaller; import at.gv.egiz.moazs.scheme.RequestStatusResponse; @@ -27,13 +27,13 @@ import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.when; @RunWith(MockitoJUnitRunner.class) -public class SafeResponseToFileSinkTest { +public class SaveResponseToFileSinkTest { - private static final Logger log = LoggerFactory.getLogger(SafeResponseToFileSinkTest.class); + private static final Logger log = LoggerFactory.getLogger(SaveResponseToFileSinkTest.class); - private SafeResponseToFileSink sink; + private SaveResponseToFileSink sink; - private final String root = "./target/tmp/SafeResponseToFileSinkTestOut"; + private final String root = "./target/tmp/SaveResponseToFileSinkTestOut"; @Mock private DeliveryRepository repository; @@ -44,7 +44,7 @@ public class SafeResponseToFileSinkTest { @Before public void setup() { - sink = new SafeResponseToFileSink(marshaller, repository, root); + sink = new SaveResponseToFileSink(marshaller, repository, root); deleteRoot(); } @@ -58,7 +58,7 @@ public class SafeResponseToFileSinkTest { } @Test - public void safeRequestToFiles() { + public void saveRequestToFiles() { var fileContent = "<xml>some content</xml>"; var status = setupMocks(fileContent); |