test: RED - Formulated expectations for active vs. inactive `ChatRoomData`
authorKai Moritz <kai@juplo.de>
Mon, 11 Mar 2024 10:59:50 +0000 (11:59 +0100)
committerKai Moritz <kai@juplo.de>
Fri, 22 Mar 2024 16:39:20 +0000 (17:39 +0100)
commitd529ca4347dea9bdd6c7f5efbcc3547f547ddb92
treee0686f21187dc006f586aba1beeb5946e1168f2b
parent9a3898831e031353da657533e2f14cf8925036a3
test: RED - Formulated expectations for active vs. inactive `ChatRoomData`

* Introduced the methods `ChatRoomData+activate()` and
  `ChatRoomData#deactivate()`.
* Added tests to `ChatRoomDataTest`, that assert the expectations.
* Added tests to `AbstractConfigurationIT`, that assert the expectations.
src/main/java/de/juplo/kafka/chat/backend/domain/ChatRoomData.java
src/test/java/de/juplo/kafka/chat/backend/AbstractConfigurationIT.java
src/test/java/de/juplo/kafka/chat/backend/InMemoryWithNoStorageAndShardingConfigurationIT.java
src/test/java/de/juplo/kafka/chat/backend/InMemoryWithNoStorageConfigurationIT.java
src/test/java/de/juplo/kafka/chat/backend/domain/ChatRoomDataTest.java