2728293031323334
private FieldService fieldService; @Before public void init(){ fieldService = new FieldServiceImpl(); fieldService.setFieldDao(fieldDao); }
223224225226227228229230231
} @Override public FieldService getFieldService() { if (fieldService == null) { fieldService = new FieldServiceImpl(); } return fieldService; }