Bump upstreams for 2022.09 Chlorine
[openflowplugin.git] / openflowjava / openflow-protocol-impl / src / test / java / org / opendaylight / openflowjava / protocol / impl / deserialization / match / OxmMetadataDeserializerTest.java
index f4f97b86157709f22655f5244145c08095c0241c..14e4a0b753e29fc5bccf28d97c3174b823b4b484 100644 (file)
@@ -35,8 +35,8 @@ public class OxmMetadataDeserializerTest {
         OxmMetadataDeserializer deserializer = new OxmMetadataDeserializer();
         MatchEntry entry = deserializer.deserialize(buffer);
 
-        Assert.assertEquals("Wrong entry class", OpenflowBasicClass.class, entry.getOxmClass());
-        Assert.assertEquals("Wrong entry field", Metadata.class, entry.getOxmMatchField());
+        Assert.assertEquals("Wrong entry class", OpenflowBasicClass.VALUE, entry.getOxmClass());
+        Assert.assertEquals("Wrong entry field", Metadata.VALUE, entry.getOxmMatchField());
         Assert.assertEquals("Wrong entry hasMask", false, entry.getHasMask());
         Assert.assertArrayEquals("Wrong entry value", ByteBufUtils.hexStringToBytes("00 00 00 00 00 00 00 03"),
                 ((MetadataCase) entry.getMatchEntryValue()).getMetadata().getMetadata());