test: RED - Proofed existence of an NPE in `ShardedChatHome.getChatRoom()`
authorKai Moritz <kai@juplo.de>
Sat, 18 Feb 2023 10:07:21 +0000 (11:07 +0100)
committerKai Moritz <kai@juplo.de>
Fri, 18 Aug 2023 15:18:37 +0000 (17:18 +0200)
commit579188d824ed2718b03e7feecf6f8c6813888394
tree7b9d080ee3b2412fa6dd1affb34dc2f28275244d
parent1d4b90c15b1571bce48389e2c34e7b15c1697b89
test: RED - Proofed existence of an NPE in `ShardedChatHome.getChatRoom()`

- Refined `AbstractConfigurationIT` to show, that an NPE can occure in
  `ShardedChatHome.getChatRoom()`.
- Defined the expected behaviour, if the NPE is handled correctly in the
  refined integration-test.
src/test/java/de/juplo/kafka/chat/backend/AbstractConfigurationIT.java
src/test/java/de/juplo/kafka/chat/backend/AbstractConfigurationWithFixedShardingIT.java [new file with mode: 0644]
src/test/java/de/juplo/kafka/chat/backend/InMemoryWithFilesAndShardingConfigurationIT.java
src/test/java/de/juplo/kafka/chat/backend/InMemoryWithFilesConfigurationIT.java
src/test/java/de/juplo/kafka/chat/backend/InMemoryWithMongoDbConfigurationIT.java