@@ -0,0 +1,862 @@
+package org.batfish.datamodel.flow;%0A%0Aimport static org.hamcrest.Matchers.equalTo;%0Aimport static org.junit.Assert.assertThat;%0A%0Aimport com.google.common.collect.ImmutableSet;%0Aimport com.google.common.testing.EqualsTester;%0Aimport org.batfish.common.util.BatfishObjectMapper;%0Aimport org.junit.Test;%0A%0Apublic class IncomingSessionScopeTest %7B%0A  @Test%0A  public void testEquals() %7B%0A    new EqualsTester()%0A        .addEqualityGroup(%0A            new IncomingSessionScope(ImmutableSet.of(%22a%22)),%0A            new IncomingSessionScope(ImmutableSet.of(%22a%22)))%0A        .addEqualityGroup(new IncomingSessionScope(ImmutableSet.of(%22b%22)))%0A        .testEquals();%0A  %7D%0A%0A  @Test%0A  public void testSerialization() %7B%0A    IncomingSessionScope scope = new IncomingSessionScope(ImmutableSet.of(%22a%22));%0A    assertThat(BatfishObjectMapper.clone(scope, SessionScope.class), equalTo(scope));%0A  %7D%0A%7D%0A

test (#7481)