File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
src/test/java/org/gridsuite/modification/server Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 54
54
import java .util .*;
55
55
import java .util .stream .Collectors ;
56
56
57
+ import static org .assertj .core .api .Assertions .*;
57
58
import static org .gridsuite .modification .server .Impacts .TestImpactUtils .*;
58
59
import static org .gridsuite .modification .server .NetworkModificationException .Type .*;
59
60
import static org .gridsuite .modification .server .utils .TestUtils .assertLogMessage ;
@@ -1095,4 +1096,10 @@ public void testGetLineTypesCatalog() throws Exception {
1095
1096
});
1096
1097
assertEquals (0 , emptyLineTypes .size ());
1097
1098
}
1099
+
1100
+ @ Test
1101
+ public void testLineTypesConverion () throws Exception {
1102
+ // juste for the coverage
1103
+ assertThatThrownBy (() -> new LineTypeInfos ().toEntity ()).isInstanceOf (UnsupportedOperationException .class );
1104
+ }
1098
1105
}
You can’t perform that action at this time.
0 commit comments