@Operation(summary = "Get single organization")
    @GetMapping(value = "name/{name}", produces = "application/json")
    @ResponseBody
    public Organization getByName(@PathVariable("name") String name) {
        return organizationService.getOrganizationByName(name);
    }
@Test
    public void organizationNameNotFound() {
        when(organizationServiceMock.getOrganizationByName(anyString())).thenThrow(NotFoundException.class);

        assertThrows(NotFoundException.class, () -> {
            controllerMock.getByName("test");
        });
    }