private void assertAdherencePercentage(IVRResponse ivrResponse, String expectedAdherence) { IVRAssert.assertAudioFilesPresent( ivrResponse, FDR_YOUR_WEEKLY_ADHERENCE_IS, "Num_" + expectedAdherence, FDR_PERCENT); caller.hangup(); }
private IVRResponse enterAdherenceInformation(IVRResponse ivrResponse, String keyPressed) { IVRAssert.asksForCollectDtmfWith( ivrResponse, DEFAULT_OUTBOUND_CLINIC_MESSAGE, FDR_GREETING, FDR_MENU_FOR_SINGLE_DOSAGE); return caller.enter(keyPressed); }