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>
Sun, 15 Jan 2023 18:37:26 +0000 (19:37 +0100)
commitddc3a246339f1cbc5329c3d4a8bf11deae9d6aa6
treec3f38f9630d4d2190f023f5b1504a572fa0b4ebf
parent500e008fe64c12f306c5b302d983db3fc33067dd
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