src/test/java/com/nordea/openbanking/client/session/UserSessionTest.java
private void addData() {
        cut.setBaseUrl("baseUrl");
        cut.setClientId("clientId");
        cut.setClientSecret("clientSecret");
        List<String> accounts = new LinkedList<String>() {{
            add("FI1234567901234567-EUR");
        }};
        cut.setAccounts(accounts);
        cut.setApiVersion("V4");
        cut.setDuration(1234);
        cut.setCountry("FI");
        cut.setEnvironment("local");
        cut.setEidas("asdkjhfapseiuf98yf9ds");
        cut.setFirstAuthorizer("someone");
        cut.setNetbankID("netbankId");
        List<String> scopes = new LinkedList<String>() {{
            add("ACCOUNTS_BASIC");
        }};
        cut.setScopes(scopes);
    }
/**
     * Add some data, not at all descriptive
     */
Add some data, not at all descriptive
Add some data not at all descriptive
private void addData() {
        cut.setBaseUrl("baseUrl");
        cut.setClientId("clientId");
        cut.setClientSecret("clientSecret");
        List<String> accounts = new LinkedList<String>() {{
            add("FI1234567901234567-EUR");
        }};
        cut.setAccounts(accounts);
        cut.setApiVersion("V4");
        cut.setDuration(1234);
        cut.setCountry("FI");
        cut.setEnvironment("local");
        cut.setEidas("asdkjhfapseiuf98yf9ds");
        cut.setFirstAuthorizer("someone");
        cut.setNetbankID("netbankId");
        List<String> scopes = new LinkedList<String>() {{
            add("ACCOUNTS_BASIC");
        }};
        cut.setScopes(scopes);
    }
private void addData ( ) { cut . setBaseUrl ( "baseUrl" ) ; cut . setClientId ( "clientId" ) ; cut . setClientSecret ( "clientSecret" ) ; List < String > accounts = new LinkedList < String > ( ) { { add ( "FI1234567901234567-EUR" ) ; } } ; cut . setAccounts ( accounts ) ; cut . setApiVersion ( "V4" ) ; cut . setDuration ( 1234 ) ; cut . setCountry ( "FI" ) ; cut . setEnvironment ( "local" ) ; cut . setEidas ( "asdkjhfapseiuf98yf9ds" ) ; cut . setFirstAuthorizer ( "someone" ) ; cut . setNetbankID ( "netbankId" ) ; List < String > scopes = new LinkedList < String > ( ) { { add ( "ACCOUNTS_BASIC" ) ; } } ; cut . setScopes ( scopes ) ; }
Add some data, not at all descriptive
Add some data not at all descriptive