// Path: jxnet-core/src/main/java/com/ardikars/jxnet/exception/OperationNotSupportedException.java
// public class OperationNotSupportedException extends RuntimeException {
// 
//     private static final long serialVersionUID = 4918064360828376142L;
// 
//     public OperationNotSupportedException() {
//         this("");
//     }
// 
//     public OperationNotSupportedException(final String s) {
//         this(s, new RuntimeException(s));
//     }
// 
//     public OperationNotSupportedException(final Throwable throwable) {
//         this(throwable.getMessage(), throwable);
//     }
// 
//     public OperationNotSupportedException(final String s, final Throwable throwable) {
//         super(s, throwable);
//     }
// 
// }


import com.ardikars.common.net.Inet4Address;
import com.ardikars.jxnet.exception.OperationNotSupportedException;
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import org.junit.runners.MethodSorters;
        assert pcapAddr.equals(pcapAddr0);
        assert pcapAddr.equals(pcapAddr.clone());
        assert pcapAddr.hashCode() == pcapAddr0.hashCode();
        assert pcapAddr.hashCode() == pcapAddr.clone().hashCode();
    }

    @Override
    public void toStringTest() {
        PcapAddr pcapAddr = new PcapAddr(sockAddr1, sockAddr2, sockAddr3, sockAddr4);
        assert !pcapAddr.toString().equals("");
    }

    @Test
    @Override
    public void getterTest() {
        SockAddr addr1 = new SockAddr(SockAddr.Family.AF_INET.getValue(),
                Inet4Address.valueOf("192.168.1.1").getAddress());
        SockAddr addr2 = new SockAddr(SockAddr.Family.AF_INET.getValue(),
                Inet4Address.valueOf("192.168.1.2").getAddress());
        SockAddr addr3 = new SockAddr(SockAddr.Family.AF_INET.getValue(),
                Inet4Address.valueOf("192.168.1.3").getAddress());
        SockAddr addr4 = new SockAddr(SockAddr.Family.AF_INET.getValue(),
                Inet4Address.valueOf("192.168.1.4").getAddress());
        PcapAddr pcapAddr = new PcapAddr(sockAddr1, sockAddr2, sockAddr3, sockAddr4);
        assert pcapAddr.getAddr().equals(addr1);
        assert pcapAddr.getNetmask().equals(addr2);
        assert pcapAddr.getBroadAddr().equals(addr3);
        assert pcapAddr.getDstAddr().equals(addr4);
    }

// Path: jxnet-core/src/main/java/com/ardikars/jxnet/exception/OperationNotSupportedException.java
// public class OperationNotSupportedException extends RuntimeException {
// 
//     private static final long serialVersionUID = 4918064360828376142L;
// 
//     public OperationNotSupportedException() {
//         this("");
//     }
// 
//     public OperationNotSupportedException(final String s) {
//         this(s, new RuntimeException(s));
//     }
// 
//     public OperationNotSupportedException(final Throwable throwable) {
//         this(throwable.getMessage(), throwable);
//     }
// 
//     public OperationNotSupportedException(final String s, final Throwable throwable) {
//         super(s, throwable);
//     }
// 
// }


// Path: jxnet-core/src/test/java/com/ardikars/jxnet/PcapAddrTest.java
import com.ardikars.common.net.Inet4Address;
import com.ardikars.jxnet.exception.OperationNotSupportedException;
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import org.junit.runners.MethodSorters;

        assert pcapAddr.equals(pcapAddr0);
        assert pcapAddr.equals(pcapAddr.clone());
        assert pcapAddr.hashCode() == pcapAddr0.hashCode();
        assert pcapAddr.hashCode() == pcapAddr.clone().hashCode();
    }

    @Override
    public void toStringTest() {
        PcapAddr pcapAddr = new PcapAddr(sockAddr1, sockAddr2, sockAddr3, sockAddr4);
        assert !pcapAddr.toString().equals("");
    }

    @Test
    @Override
    public void getterTest() {
        SockAddr addr1 = new SockAddr(SockAddr.Family.AF_INET.getValue(),
                Inet4Address.valueOf("192.168.1.1").getAddress());
        SockAddr addr2 = new SockAddr(SockAddr.Family.AF_INET.getValue(),
                Inet4Address.valueOf("192.168.1.2").getAddress());
        SockAddr addr3 = new SockAddr(SockAddr.Family.AF_INET.getValue(),
                Inet4Address.valueOf("192.168.1.3").getAddress());
        SockAddr addr4 = new SockAddr(SockAddr.Family.AF_INET.getValue(),
                Inet4Address.valueOf("192.168.1.4").getAddress());
        PcapAddr pcapAddr = new PcapAddr(sockAddr1, sockAddr2, sockAddr3, sockAddr4);
        assert pcapAddr.getAddr().equals(addr1);
        assert pcapAddr.getNetmask().equals(addr2);
        assert pcapAddr.getBroadAddr().equals(addr3);
        assert pcapAddr.getDstAddr().equals(addr4);
    }

    @Test(expected = OperationNotSupportedException.class)