src/test/java/my/company/tests/ArithmeticTestCase.java
@Parameterized.Parameters()
    public static Iterable<Object[]> data() throws Exception{
        ArithmeticTestCase.saveTxtAttachment();
        URL dir_url = ClassLoader.getSystemResource(FIXTURES_NAME);
        List<String> fixturesArray = Files.readAllLines(Paths.get(dir_url.toURI()));
        List<Object[]> parametersArray = new ArrayList<>(0);
        for (String string : fixturesArray) {
            Object[] testCaseParameters = string.split(";");
            parametersArray.add(testCaseParameters);
        }
        return parametersArray;
    }
/**
     * Function for tests parametrisation
     * @return Iterable with constructor parameters
     * @throws Exception
     */
Function for tests parametrisation
@return Iterable with constructor parameters
@throws Exception
Function for tests parametrisation @return Iterable with constructor parameters @throws Exception
@Parameterized.Parameters()
    public static Iterable<Object[]> data() throws Exception{
        ArithmeticTestCase.saveTxtAttachment();
        URL dir_url = ClassLoader.getSystemResource(FIXTURES_NAME);
        List<String> fixturesArray = Files.readAllLines(Paths.get(dir_url.toURI()));
        List<Object[]> parametersArray = new ArrayList<>(0);
        for (String string : fixturesArray) {
            Object[] testCaseParameters = string.split(";");
            parametersArray.add(testCaseParameters);
        }
        return parametersArray;
    }
@ Parameterized . Parameters ( ) public static Iterable < Object [ ] > data ( ) throws Exception { ArithmeticTestCase . saveTxtAttachment ( ) ; URL dir_url = ClassLoader . getSystemResource ( FIXTURES_NAME ) ; List < String > fixturesArray = Files . readAllLines ( Paths . get ( dir_url . toURI ( ) ) ) ; List < Object [ ] > parametersArray = new ArrayList < > ( 0 ) ; for ( String string : fixturesArray ) { Object [ ] testCaseParameters = string . split ( ";" ) ; parametersArray . add ( testCaseParameters ) ; } return parametersArray ; }
Function for tests parametrisation
 @return Iterable with constructor parameters
 @throws Exception
Function for tests parametrisation @return Iterable with constructor parameters @throws Exception