@Test
public void equalTest() {

    Assert.assertTrue(socketInfo.equals(socketInfo));
    Assert.assertFalse(socketInfo.equals(null));
    Assert.assertFalse(socketInfo.equals(0));
    Assert.assertFalse(socketInfo.equals(new SocketInfo(ALT_SOCKET_PATH, SOCKET_PREFIX, VHOSTUSER_MODE)));
    Assert.assertFalse(socketInfo.equals(new SocketInfo(SOCKET_PATH, ALT_SOCKET_PREFIX, VHOSTUSER_MODE)));
    Assert.assertFalse(socketInfo.equals(new SocketInfo(SOCKET_PATH, SOCKET_PATH, ALT_VHOSTUSER_MODE)));
}