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>
Wed, 25 Jan 2023 20:59:37 +0000 (21:59 +0100)
commit9d1625e73e16062420df664a10c6c541228f49b7
tree4225d9b10343c30119683f8f85f248652db64108
parentaf3553a0f5093819fc2af088b974375c7102ed9d
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