TRUNK-3586 Changed EncounterTest to user mocked Context