1. Project Clover database Wed Jan 17 2024 23:40:18 CST
  2. Package org.europa.together.domain

File CipherAlgorithmTest.java

 

Code metrics

0
2
1
1
24
18
1
0.5
2
1
1

Classes

Class Line # Actions
CipherAlgorithmTest 12 2 0% 1 0
1.0100%
 

Contributing tests

This file is covered by 1 test. .

Source view

1    package org.europa.together.domain;
2   
3    import org.europa.together.JUnit5Preperator;
4    import org.europa.together.application.LogbackLogger;
5    import org.europa.together.business.Logger;
6    import static org.junit.jupiter.api.Assertions.*;
7    import org.junit.jupiter.api.Test;
8    import org.junit.jupiter.api.extension.ExtendWith;
9   
10    @SuppressWarnings("unchecked")
11    @ExtendWith({JUnit5Preperator.class})
 
12    public class CipherAlgorithmTest {
13   
14    private static final Logger LOGGER = new LogbackLogger(CipherAlgorithmTest.class);
15   
 
16  1 toggle @Test
17    void enumValues() {
18  1 LOGGER.log("TEST CASE: enumValues", LogLevel.DEBUG);
19   
20  1 assertEquals("RSA",
21    CipherAlgorithm.RSA.toString());
22    }
23   
24    }