<commit_before>package com.worth.ifs.project.bankdetails.controller;

import com.worth.ifs.bankdetails.controller.BankDetailsManagementController;
import com.worth.ifs.project.BaseProjectSetupControllerSecurityTest;
import com.worth.ifs.project.ProjectSetupSectionsPermissionRules;
import com.worth.ifs.user.resource.UserResource;
import org.junit.Test;

import java.util.function.Consumer;

import static org.mockito.Matchers.eq;
import static org.mockito.Matchers.isA;

public class BankDetailsManagementControllerSecurityTest extends BaseProjectSetupControllerSecurityTest<BankDetailsManagementController> {

    @Override
    protected Class<? extends BankDetailsManagementController> getClassUnderTest() {
        return BankDetailsManagementController.class;
    }

    @Test
    public void testApproveBankDetails() {
        assertSecured(() -> classUnderTest.approveBankDetails(null, 123L, 234L, null));
    }<commit_msg>INFUND-4877 Build failure fix<commit_after>package com.worth.ifs.project.bankdetails.controller;

import com.worth.ifs.bankdetails.controller.BankDetailsManagementController;
import com.worth.ifs.project.BaseProjectSetupControllerSecurityTest;
import com.worth.ifs.project.ProjectSetupSectionsPermissionRules;
import com.worth.ifs.user.resource.UserResource;
import org.junit.Test;

import java.util.function.Consumer;

import static org.mockito.Matchers.eq;
import static org.mockito.Matchers.isA;

public class BankDetailsManagementControllerSecurityTest extends BaseProjectSetupControllerSecurityTest<BankDetailsManagementController> {

    @Override
    protected Class<? extends BankDetailsManagementController> getClassUnderTest() {
        return BankDetailsManagementController.class;
    }

    @Test
    public void testApproveBankDetails() {
        assertSecured(() -> classUnderTest.approveBankDetails(null, null, null, null, 123L, 234L, null));
    }
{'fraction_non_alphanumeric': 0.08342133051742344, 'fraction_numerical': 0.008447729672650475, 'mean_word_length': 6.07089552238806, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2685346', 'n_tokens_mistral': 511, 'n_tokens_neox': 491, 'n_words': 90}