refactor: Introduced `AbstractStorageStrategyIT` as base for more tests
authorKai Moritz <kai@juplo.de>
Mon, 9 Jan 2023 20:37:55 +0000 (21:37 +0100)
committerKai Moritz <kai@juplo.de>
Mon, 9 Jan 2023 20:41:50 +0000 (21:41 +0100)
commit9ac4ff6edefe75c478dd8f669444a1513cdf5372
treeaaa8e09807beafbedbfa0428cb0b7cf24b510aa7
parent06dc744bf6f251ae82b2a2af6815866665e949cf
refactor: Introduced `AbstractStorageStrategyIT` as base for more tests

- Moved the test-logic, that does not depend on implementation-details
  into an abstract base-class `AbstractStorageStrategyID`.
- `LocalJsonFilesStorageStrategyIT` extends this class and only instances
  for that specific implementation and the accompanying setup.
src/test/java/de/juplo/kafka/chat/backend/persistence/AbstractStorageStrategyIT.java [new file with mode: 0644]
src/test/java/de/juplo/kafka/chat/backend/persistence/LocalJsonFilesStorageStrategyIT.java