1 package de.dlr.shepard.context.semantic.entities;
2
3 import de.dlr.shepard.BaseTestCase;
4 import de.dlr.shepard.auth.users.entities.User;
5 import nl.jqno.equalsverifier.EqualsVerifier;
6 import org.junit.jupiter.api.Test;
7
8 public class SemanticRepositoryTest extends BaseTestCase {
9
10 @Test
11 public void equalsContract() {
12 EqualsVerifier.simple()
13 .forClass(SemanticRepository.class)
14 .withPrefabValues(User.class, new User("bob"), new User("claus"))
15 .withPrefabValues(SemanticAnnotation.class, new SemanticAnnotation(1L), new SemanticAnnotation(2L))
16 .verify();
17 }
18 }