	@Test
	void testApprove() {

		LeaveRequest saved = repository.save(new LeaveRequest("Alice", of(2019, 11, 30), of(2019, 12, 03), PENDING));
		Optional<LeaveRequest> approved = service.approve(saved.getId());
		verify(repository).findById(saved.getId());
		assertThat(approved).isPresent();
		assertThat(approved).get().isSameAs(saved);
		assertThat(approved.get().getStatus()).isSameAs(APPROVED);
	}