package org.opendaylight.mdsal.model.ietf.util;
import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
@Test
public void canonizeMACTest() throws Exception {
- assertFalse(UTIL.canonizeMacAddress(new MacClass("01:02:1E:5A:FB:88")).getValue()
- .equals(UTIL.canonizeMacAddress(new MacClass(CANON)).getValue()));
+ assertEquals(CANON, UTIL.canonizeMacAddress(new MacClass("01:02:1E:5A:FB:88")).getValue());
}
@Test(expected = IllegalArgumentException.class)
AbstractIetfYangUtil.hexValue(Character.highSurrogate(1000));
fail("Expected invalid character exception");
}
-}
\ No newline at end of file
+}