@@ -0,0 +1,2232 @@
+/*%0A * Copyright 2015 Open Networking Laboratory%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage org.onosproject.vtnrsc.tenantnetwork;%0A%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0Aimport static org.hamcrest.Matchers.is;%0Aimport static org.hamcrest.Matchers.notNullValue;%0Aimport static org.onlab.junit.ImmutableClassChecker.assertThatClassIsImmutable;%0A%0Aimport org.junit.Test;%0Aimport org.onosproject.vtnrsc.PhysicalNetwork;%0A%0Aimport com.google.common.testing.EqualsTester;%0A%0A/**%0A * Unit tests for PhysicalNetwork class.%0A */%0Apublic class PhysicalNetworkTest %7B%0A%0A    final PhysicalNetwork physicalNetwork1 = PhysicalNetwork.physicalNetwork(%221%22);%0A    final PhysicalNetwork sameAsPhysicalNetwork1 = PhysicalNetwork.physicalNetwork(%221%22);%0A    final PhysicalNetwork physicalNetwork2 = PhysicalNetwork.physicalNetwork(%222%22);%0A%0A    /**%0A     * Checks that the PhysicalNetwork class is immutable.%0A     */%0A    @Test%0A    public void testImmutability() %7B%0A        assertThatClassIsImmutable(PhysicalNetwork.class);%0A    %7D%0A%0A    /**%0A     * Checks the operation of equals() methods.%0A     */%0A    @Test%0A    public void testEquals() %7B%0A        new EqualsTester().addEqualityGroup(physicalNetwork1, sameAsPhysicalNetwork1)%0A                .addEqualityGroup(physicalNetwork2).testEquals();%0A    %7D%0A%0A    /**%0A     * Checks the construction of a PhysicalNetwork object.%0A     */%0A    @Test%0A    public void testConstruction() %7B%0A        final String physicalNetworkValue = %22s%22;%0A        final PhysicalNetwork physicalNetwork = PhysicalNetwork%0A                .physicalNetwork(physicalNetworkValue);%0A        assertThat(physicalNetwork, is(notNullValue()));%0A        assertThat(physicalNetwork.physicalNetwork(), is(physicalNetworkValue));%0A    %7D%0A%7D%0A

Add the junit test code of PhysicalNetwork