@Test
public void test_get_starred_documents_with_project() {

    when(repository.getStarredDocuments(project("local-datashare"), User.local())).thenReturn(asList("id1", "id2"));
    get("/api/local-datashare/documents/starred").should().respond(200).contain("id1").contain("id2");
}