WIP:refactor: Refined channel-states, introduced `ChannelState` -- ALIGN
[demos/kafka/chat] / src / test / java / de / juplo / kafka / chat / backend / AbstractInMemoryStorageIT.java
1 package de.juplo.kafka.chat.backend;
2
3 import de.juplo.kafka.chat.backend.implementation.inmemory.InMemoryTestUtils;
4 import de.juplo.kafka.chat.backend.implementation.inmemory.SimpleChatHomeService;
5 import lombok.extern.slf4j.Slf4j;
6 import org.springframework.beans.factory.annotation.Autowired;
7 import org.springframework.test.context.ContextConfiguration;
8
9
10 @ContextConfiguration(classes = InMemoryTestUtils.class)
11 @Slf4j
12 public abstract class AbstractInMemoryStorageIT extends AbstractStorageStrategyIT
13 {
14   @Autowired
15   InMemoryTestUtils testUtils;
16   @Autowired
17   SimpleChatHomeService simpleChatHomeService;
18
19   @Override
20   void restore()
21   {
22     testUtils.restore(simpleChatHomeService).block();
23   }
24 }