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