@Test
public void testGetTherapySuspendReasonForSuspendedTherapy()
{

  final Pair<MedicationOrderComposition, MedicationInstructionInstruction> instructionPair =
      buildTestInstructionForSuspendReasonTest();
  addActionToSuspendReasonTestData(
      instructionPair.getFirst(),
      instructionPair.getSecond(),
      MedicationActionEnum.SUSPEND,
      new DateTime(2016, 6, 10, 12, 0));
  final TherapyChangeReasonDto therapySuspendReason =
      medicationsBo.getTherapySuspendReason(instructionPair.getFirst(), instructionPair.getSecond());
  assertNotNull(therapySuspendReason);
  assertNotNull(therapySuspendReason.getChangeReason());
  assertEquals(
      TherapyChangeReasonEnum.TEMPORARY_LEAVE.toFullString(),
      therapySuspendReason.getChangeReason().getCode());
  assertEquals(
      TherapyChangeReasonEnum.TEMPORARY_LEAVE.toFullString(),
      therapySuspendReason.getChangeReason().getName());
}