package Ġcom . k re ait . slack . broker . store Ċ Ċ import Ġcom . k re ait . slack . api . contract . jackson . Slack Event Ċ import Ġcom . k re ait . slack . api . contract . jackson . sample Ċ import Ġcom . k re ait . slack . broker . store . event . InMemory Event Store Ċ import Ġorg . junit . jupiter . api . Assertions . assertFalse Ċ import Ġorg . junit . jupiter . api . Assertions . assertTrue Ċ import Ġorg . junit . jupiter . api . DisplayName Ċ import Ġorg . junit . jupiter . api . Test Ċ Ċ @ DisplayName (" InMemory Event Store ") Ċ class ĠIn Memory Event Store Tests Ġ{ ĊĊĊĠĠĠ Ġ@ DisplayName (" Operations ") ĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġadd And Remove Team () Ġ{ ĊĊĠĠĠĠĠĠĠ Ġval Ġsample Id Ġ= Ġ" Test EventId " ĊĠĠĠĠĠĠĠ Ġval Ġin Memory Event Store Ġ= ĠIn Memory Event Store () ĊĠĠĠĠĠĠĠ Ġin Memory Event Store . put ( Slack Event . sample (). copy ( eventId Ġ= Ġsample Id )) ĊĊĠĠĠĠĠĠĠ ĠassertTrue ( in Memory Event Store . exists ( sample Id )) ĊĠĠĠĠĠĠĠ ĠassertFalse ( in Memory Event Store . exists (" Unknown Id ")) ĊĠĠĠ Ġ} Ċ Ċ } ĊĊ