- public void getOpenRoadmVersionTest() throws ExecutionException, InterruptedException {
- assertEquals("NodeInfo with ROADM-C1 as id should be 1.2.1 version",
- StringConstants.OPENROADM_DEVICE_VERSION_1_2_1,
- mappingUtils.getOpenRoadmVersion("ROADM-C1"));
- assertEquals("NodeInfo with ROADM-A1 as id should be 2.2.1 version",
- StringConstants.OPENROADM_DEVICE_VERSION_2_2_1,
- mappingUtils.getOpenRoadmVersion("ROADM-A1"));
- assertNull("NodeInfo with nodes3 as id should not exist", mappingUtils.getOpenRoadmVersion("nodes3"));
+ void getOpenRoadmVersionTest() throws ExecutionException, InterruptedException {
+ assertEquals(StringConstants.OPENROADM_DEVICE_VERSION_1_2_1, mappingUtils.getOpenRoadmVersion("ROADM-C1"),
+ "NodeInfo with ROADM-C1 as id should be 1.2.1 version");
+ assertEquals(StringConstants.OPENROADM_DEVICE_VERSION_2_2_1, mappingUtils.getOpenRoadmVersion("ROADM-A1"),
+ "NodeInfo with ROADM-A1 as id should be 2.2.1 version");
+ assertNull(mappingUtils.getOpenRoadmVersion("nodes3"), "NodeInfo with nodes3 as id should not exist");