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 11:37:37 +0000 (13:37 +0200)
commit412635e46c4891f9565f341044878190c5674729
treecca9a3631797b7917187ccd408ee31b34991d5d7
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