@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 getOrganizationByName() {
        when(organizationServiceMock.getOrganizationByName(anyString())).thenReturn(newOrganization());

        Organization result = controllerMock.getByName("test");

        assertEquals(newOrganization().getName(), result.getName());
        verify(organizationServiceMock, times(1)).getOrganizationByName(anyString());
        assertNotNull(result);
    }