OvsVlanMemberConfigUpdateHelper { public static boolean vlanIdModified(VlanId vlanIdOld, VlanId vlanIdNew) { return !Objects.equals(vlanIdOld, vlanIdNew); } @Inject  OvsVlanMemberConfigUpdateHelper(@Reference DataBroker dataBroker,
            InterfaceManagerCommonUtils interfaceManagerCommonUtils,
            OvsVlanMemberConfigAddHelper ovsVlanMemberConfigAddHelper,
            OvsVlanMemberConfigRemoveHelper ovsVlanMemberConfigRemoveHelper,
            InterfaceMetaUtils interfaceMetaUtils); List<? extends ListenableFuture<?>> updateConfiguration(ParentRefs parentRefsNew, Interface interfaceOld,
            IfL2vlan ifL2vlanNew, Interface interfaceNew); static boolean vlanIdModified(VlanId vlanIdOld, VlanId vlanIdNew);  }
@Test public void testVlanIdModified() { VlanId vlanId1 = new VlanId(1); VlanId vlanId2 = new VlanId(2); assertFalse(OvsVlanMemberConfigUpdateHelper.vlanIdModified(null, null)); assertTrue(OvsVlanMemberConfigUpdateHelper.vlanIdModified(null, vlanId2)); assertTrue(OvsVlanMemberConfigUpdateHelper.vlanIdModified(vlanId1, null)); assertFalse(OvsVlanMemberConfigUpdateHelper.vlanIdModified(vlanId1, vlanId1)); assertTrue(OvsVlanMemberConfigUpdateHelper.vlanIdModified(vlanId1, vlanId2)); }