    @Test
    public void addConfirmationWithValidDataShouldSucceed() {

        given(userService.getDukeEncountersUser(anyString())).willReturn(testUser());
        given(encounterService.getEncounterById(anyLong())).willReturn(testEncounter(1));
        given(repository.save(any(Confirmation.class))).willReturn(testConfirmation());
        Confirmation confirmation = service.addConfirmation("test", 1);

        assertThat(confirmation.getEncounter().getId()).isEqualTo(1);
        assertThat(confirmation.getUser().getUsername()).isEqualTo("test");
    }