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>
Sun, 20 Aug 2023 08:44:31 +0000 (10:44 +0200)
commiteb8839762bcfe9137b25d666080812121a2b26ea
treed8768912732b38e8a4ba9a887dcf889ed80a14dd
parentcd192a26afb8beb0e45cb0807e7f63e30e87966a
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/AbstractConfigurationWithShardingIT.java [new file with mode: 0644]
src/test/java/de/juplo/kafka/chat/backend/InMemoryWithFilesAndShardingConfigurationIT.java
src/test/java/de/juplo/kafka/chat/backend/InMemoryWithMongoDbConfigurationIT.java