StrategyDataImpl extends DataSuperClass implements StrategyDataService { public ResultMessage setConst(ConstPO po) throws RemoteException { if(helper.writeToSerFile(po, constFile , false)){ return ResultMessage.SUCCESS; }else{ return ResultMessage.FAIL; } } StrategyDataImpl(); void initial(); ConstPO getConst(); ResultMessage setConst(ConstPO po); ArrayList<SalaryWayPO> getSalary(); ResultMessage setSalaryWay(SalaryWayPO po); SalaryWayPO getOneSalary(StaffType type); @Override EstiDatePO getEstiDatePO(); @Override ResultMessage setEstiDatePO(EstiDatePO po);  }
@Test public void testSetConst() throws RemoteException { testframeforczq.setConst(po); }