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

File MisconfigurationExceptionTest.java

 

Code metrics

0
4
1
1
20
16
1
0.25
4
1
1

Classes

Class Line # Actions
MisconfigurationExceptionTest 10 4 0% 1 0
1.0100%
 

Contributing tests

This file is covered by 1 test. .

Source view

1    package org.europa.together.exceptions;
2   
3    import org.europa.together.JUnit5Preperator;
4    import static org.junit.jupiter.api.Assertions.*;
5    import org.junit.jupiter.api.Test;
6    import org.junit.jupiter.api.extension.ExtendWith;
7   
8    @SuppressWarnings("unchecked")
9    @ExtendWith({JUnit5Preperator.class})
 
10    public class MisconfigurationExceptionTest {
11   
 
12  1 toggle @Test
13    void exceptionObject() {
14  1 MisconfigurationException ex_00 = new MisconfigurationException("Misconfiguration Exception");
15  1 assertEquals("Misconfiguration Exception", ex_00.getMessage());
16   
17  1 MisconfigurationException ex = new MisconfigurationException();
18  1 assertNull(ex.getMessage());
19    }
20    }