* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-
package org.opendaylight.genius.ipv6util.api.decoders;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
+import static org.junit.Assert.assertThrows;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.List;
import org.junit.Test;
import org.opendaylight.genius.ipv6util.api.Icmpv6Type;
-import org.opendaylight.infrautils.testutils.Asserts;
import org.opendaylight.openflowplugin.libraries.liblldp.BufferException;
import org.opendaylight.openflowplugin.libraries.liblldp.EtherTypes;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address;
"00 20", // Payload length
"3A" // Next header is ICMPv6
);
- Asserts.assertThrows(BufferException.class, () -> {
+ assertThrows(BufferException.class, () -> {
new Ipv6NaDecoder(invalidInputPayload).decode();
});
}