@Before public void setUp() throws Exception { gen.clearAllTables(); b1 = new BillingBean(); b1.setAmt(40); b1.setInsAddress1("123 else drive"); b1.setInsAddress2(" "); b1.setInsCity("Durham"); b1.setInsHolderName("dad"); b1.setInsID("1234"); b1.setInsPhone("333-333-3333"); b1.setInsProviderName("Cigna"); b1.setInsState("NC"); b1.setInsZip("27607"); b1.setPatient(PATIENT_MID); b1.setStatus(BillingBean.PENDING); b1.setSubTime(new Timestamp(new Date().getTime())); ov = new OfficeVisitBean(); ov.setAppointmentType("Mammogram"); ov.setBilled(true); ov.setHcpID(DOCTOR_MID); ov.setPatientID(PATIENT_MID); int ovID = (int) init2.add(ov); b1.setApptID(ovID); b1.setBillID((int) init.addBill(b1)); init.editBill(b1); subject = new VerifyClaimAction(factory, b1.getBillID()); }
@Override protected void setUp() throws Exception { gen = new TestDataGenerator(); gen.clearAllTables(); gen.patient1(); gen.patient2(); }
@Override protected void setUp() throws Exception { super.setUp(); gen.clearAllTables(); gen.standardData(); gen.hcp4(); }
@Before public void setUp() throws Exception { gen.clearAllTables(); gen.patient2(); action = new ViewPatientAction(factory, 2L, "2"); badAction = new ViewPatientAction(factory, -1L, "2"); }
@Override protected void setUp() throws Exception { TestDataGenerator gen = new TestDataGenerator(); gen.clearAllTables(); gen.standardData(); action = new ViewMyRecordsAction(factory, pid); fmbList = famDAO.getParents(5); fmBean = fmbList.get(0); }
@Override protected void setUp() throws Exception { factor = new ChildhoodInfectionFactor(factory, 2L, 250.3, 487); gen = new TestDataGenerator(); gen.clearAllTables(); gen.hospitals(); gen.hcp0(); gen.patient2(); p = factory.getPatientDAO().getPatient(2L); }
@Override protected void setUp() throws Exception { gen.clearAllTables(); gen.hospitals(); gen.hcp0(); gen.patient1(); gen.admin1(); gen.officeVisit1(); gen.ndCodes(); action = new EditOfficeVisitAction(factory, 9000000001L, "1", "1"); }
@Override protected void setUp() throws Exception { gen = new TestDataGenerator(); gen.clearAllTables(); gen.transactionLog(); }
protected void setUp() throws Exception { gen.clearAllTables(); gen.standardData(); allPatients = pDAO.getAllPatients(); }
@Override protected void setUp() throws Exception { gen = new TestDataGenerator(); gen.clearAllTables(); gen.labProcedures(); }
@Override protected void setUp() throws Exception { gen.clearAllTables(); gen.patient2(); }