@Test
public void testEquals() {

    byte[] expectedCookie = new byte[] { 1, 2 };
    byte[] differentCookie = new byte[] { 2, 3 };
    PagedResultsCookie originalObject = new PagedResultsCookie(
            expectedCookie);
    PagedResultsCookie identicalObject = new PagedResultsCookie(
            expectedCookie);
    PagedResultsCookie differentObject = new PagedResultsCookie(
            differentCookie);
    PagedResultsCookie subclassObject = new PagedResultsCookie(
            expectedCookie) {
    };
    new EqualsTester(originalObject, identicalObject, differentObject,
            subclassObject);
}