File tree Expand file tree Collapse file tree 2 files changed +17
-4
lines changed
app/src/test/java/org/lfenergy/compas/scl/data/rest Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change
1
+ package org .lfenergy .compas .scl .data .rest ;
2
+
3
+ import org .junit .jupiter .api .Test ;
4
+
5
+ class CompasReflectionConfigurationTest {
6
+ @ Test
7
+ void constructor_WhenCalled_ThenNoExceptions () {
8
+ new CompasReflectionConfiguration ();
9
+ }
10
+ }
Original file line number Diff line number Diff line change 8
8
import static org .junit .jupiter .api .Assertions .assertNotNull ;
9
9
10
10
class CompasSclDataServiceConfigurationTest {
11
- private CompasSclDataServiceConfiguration configuration = new CompasSclDataServiceConfiguration ();
11
+ @ Test
12
+ void constructor_WhenCalled_ThenNoExceptions () {
13
+ new CompasSclDataServiceConfiguration ();
14
+ }
12
15
13
16
@ Test
14
17
void createElementConverter_WhenCalled_ThenObjectReturned () {
15
- assertNotNull (configuration .createElementConverter ());
18
+ assertNotNull (new CompasSclDataServiceConfiguration () .createElementConverter ());
16
19
}
17
20
18
21
@ Test
19
22
void creatSclElementProcessor_WhenCalled_ThenObjectReturned () {
20
- assertNotNull (configuration .creatSclElementProcessor ());
23
+ assertNotNull (new CompasSclDataServiceConfiguration () .creatSclElementProcessor ());
21
24
}
22
25
23
26
@ Test
24
27
void createSclDataModelMarshaller_WhenCalled_ThenObjectReturned () {
25
- assertNotNull (configuration .createSclDataModelMarshaller ());
28
+ assertNotNull (new CompasSclDataServiceConfiguration () .createSclDataModelMarshaller ());
26
29
}
27
30
}
You can’t perform that action at this time.
0 commit comments