assertEquals("put int field error", 1, second.getIntField());
assertEquals("put long field error", 1, second.getLongField());
}
public void testGetFieldWithOtherAccess() {
final WithOtherAccess first = new WithOtherAccess();
final WithOtherAccess second = new WithOtherAccess();
first.setIntField(0);
first.setLongField(0);
second.setIntField(1);
second.setLongField(1);
first.getState(second);
assertEquals("put int field error", 1, second.getIntField());
assertEquals("put long field error", 1, second.getLongField());
}