Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.

Commit

Permalink
BC-7234 - more test
Browse files Browse the repository at this point in the history
  • Loading branch information
mamutmk5 authored May 22, 2024
1 parent c8d5bad commit 5828c0c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/test/java/de/svs/doido/mongo/dto/ConfigmapTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,18 @@
import io.quarkus.test.junit.QuarkusTest;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.BeforeEach;
import lombok.ToString;
import lombok.EqualsAndHashCode;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotEquals;

@QuarkusTest
class ConfigmapTest {
@ToString
@EqualsAndHashCode
private static testConfigmapClass extends Configmap {

}

private Configmap c;
private Configmap d;
Expand Down Expand Up @@ -130,4 +137,10 @@ void testEquals3 () {
assertEquals( false, c.equals(d));
}

@Test
void testEquals4() {
testConfigmapClass e = new testConfigmapClass();
assertEquals( false, c.equals(e));
assertEquals( false, e.equals(c));
}
}

0 comments on commit 5828c0c

Please sign in to comment.