{
public void testFieldAccess()
{
FieldAccess.DataHolder dh = new FieldAccess.DataHolder();
dh.temp = "test1";
FieldAccess fa = new FieldAccess();
fa.id = 3;
assertEquals(dh.temp,fa.getFieldValueNav1(dh));
assertEquals(dh.temp,fa.getFieldValueNav2(dh));
assertEquals(dh.temp,fa.getFieldValueNav3(dh));
assertEquals(3,FieldAccess.getFieldValueNav4(new FieldAccess.Id("3")));
assertEquals(4,FieldAccess.getFieldValueNav5(new FieldAccess.Id("4")));
assertEquals(5,FieldAccess.getFieldValueNav6(new FieldAccess.Id("5")));
assertEquals(6,FieldAccess.getFieldValueNav7(fa,new FieldAccess.Id("6")));
assertEquals(7,fa.getFieldValueNav8(new FieldAccess.Id("7")));
assertEquals(8,fa.getFieldValueNav9(new FieldAccess.Id("8")));
assertEquals(9,fa.getFieldValueNav10(new FieldAccess.Id("9")));
assertEquals(10,fa.getFieldValueNav11(new FieldAccess.Id("10")));
assertEquals(11,fa.getFieldValueNav12(new FieldAccess.Id("11")));
assertEquals(12,fa.getFieldValueNav13(new FieldAccess.Id("12")));
assertEquals(13,fa.getFieldValueNav14(new FieldAccess.Id("13")));
assertEquals(14,fa.getFieldValueNav15(new FieldAccess.Id("14")));
assertEquals(15,fa.getFieldValueNav16(new FieldAccess.Id("15")));
fa.id = 4;
assertEquals(5,fa.getFieldValueNav17());
assertEquals(6,fa.getFieldValueNav17());
assertEquals(7,fa.getFieldValueNav18());
assertEquals(8,fa.getFieldValueNav18());
}