@Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof NiciraNshNp) {
            NiciraNshNp that = (NiciraNshNp) obj;
            return Objects.equals(nshNp, that.nshNp);

        }
        return false;
    }
@Test
    public void testEquals() {
        final NiciraNshNp nshNp1 = new NiciraNshNp(np1);
        final NiciraNshNp sameAsNshNp1 = new NiciraNshNp(np1);
        final NiciraNshNp nshNp2 = new NiciraNshNp(np2);

        new EqualsTester().addEqualityGroup(nshNp1, sameAsNshNp1).addEqualityGroup(nshNp2)
                .testEquals();
    }