source: class ChatStateTest {
  
      @Test
      public void resetTest() {
  
target: 
          ChatState chatState = new ChatState();
  
          byte[][] txs = {
                  new Message("hello camille, we need to talk!", "alice" ).toBytes()
          };
          Block block = new Block();
          block.body.transactions = txs;
          chatState.processBlock(block);
  
          chatState.reset();
  
          List<IMessage> messages = chatState.getMessagesFromIndex(0);
  
          assertEquals(0, messages.size());
      }
  
  }