1 package civitas.crypto.tests;
2
3 import org.junit.jupiter.api.DisplayName;
4 import org.junit.jupiter.api.Test;
5
6 import civitas.crypto.CryptoError;
7
8 class CryptoErrorTest {
9
10 @Test
11 @DisplayName("can be instantiated with a message")
12 void test() {
13 new CryptoError("err");
14 }
15
16 @Test
17 @DisplayName("can be instantiated with a message and throwable")
18 void test1() {
19 new CryptoError("err", new Error());
20 }
21
22 @Test
23 @DisplayName("can be instantiated with a throwable")
24 void test2() {
25 new CryptoError(new Error());
26 }
27 }