cleanup tests
[reguloj.git] / src / test / java / wtf / metio / reguloj / ContextRecordTest.java
blob30f22f12eab65623b1758b66371d666f4fc16938
1 /*
2 * This file is part of reguloj. It is subject to the license terms in the LICENSE file found in the top-level
3 * directory of this distribution and at http://creativecommons.org/publicdomain/zero/1.0/. No part of reguloj,
4 * including this file, may be copied, modified, propagated, or distributed except according to the terms contained
5 * in the LICENSE file.
6 */
8 package wtf.metio.reguloj;
10 import static org.junit.jupiter.api.Assertions.assertEquals;
12 import org.junit.jupiter.api.Test;
14 class ContextRecordTest {
16 @Test
17 void shouldHaveTopic() {
18 // given
19 final var context = new SimpleContext<>("test");
21 // when
22 final var topic = context.topic();
24 // then
25 assertEquals("test", topic);