app/helpers/api/qonto/mock/MockOrganizationService.java
public static OrganizationService create() {
        OrganizationService organizationService = mock(OrganizationService.class);

        when(organizationService.getOrganization(any(String.class))).thenAnswer(i -> {
            return null;
        });

        return organizationService;
    }
/**
     * Create a mock of OrganizationService.
     *
     * @return The mock
     */
Create a mock of OrganizationService.
@return The mock
Create a mock of OrganizationService . @return The mock
public static OrganizationService create() {
        OrganizationService organizationService = mock(OrganizationService.class);
        when(organizationService.getOrganization(any(String.class))).thenAnswer(i -> {
            return null;
        });
        return organizationService;
    }
public static OrganizationService create ( ) { OrganizationService organizationService = mock ( OrganizationService . class ) ; when ( organizationService . getOrganization ( any ( String . class ) ) ) . thenAnswer ( i -> { return null ; } ) ; return organizationService ; }
Create a mock of OrganizationService.
Create a mock of OrganizationService .