1 package org.pojomatic.test;
2
3 import org.pojomatic.Pojomatic;
4 import org.pojomatic.annotations.AutoProperty;
5
6
7
8
9 @AutoProperty
10 public class DifferentPojo {
11
12 private final Object test;
13
14 public DifferentPojo(Object test) {
15 this.test = test;
16 }
17
18 public Object getTest() {
19 return test;
20 }
21
22 @Override
23 public int hashCode() {
24 return Pojomatic.hashCode(this);
25 }
26
27 @Override
28 public String toString() {
29 return Pojomatic.toString(this);
30 }
31
32 @Override
33 public boolean equals(Object o) {
34 return Pojomatic.equals(this, o);
35 }
36
37 }