// Path: src/test/java/pl/jalokim/propertiestojson/domain/MainObject.java
// @Getter
// @Setter
// public class MainObject {
// 
//     private Man man;
//     private Insurance insurance;
//     private String field1;
//     private String field2;
// }


import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import org.assertj.core.api.Assertions;
import pl.jalokim.propertiestojson.domain.MainObject;
        return properties;
    }

    protected Properties initProperlyProperties() {
        Properties properties = new Properties();
        properties.put("man.name", NAME);
        properties.put("man.surname", SURNAME);
        properties.put("man.address.city", CITY);
        properties.put("man.address.street", STREET);
        properties.put("insurance.type", INSRANCE_TYPE);
        properties.put("insurance.cost", COST_INT_VALUE);
        properties.put("field1", FIELD1_VALUE);
        properties.put("field2", FIELD2_VALUE);
        properties.put("man.emails", Arrays.asList(EMAIL_1, EMAIL_2, EMAIL_3, EMAIL_3));
        properties.put("man.groups[0].name", GROUP_1);
        properties.put("man.groups[0].type", COMMERCIAL);
        properties.put("man.groups[2].name", GROUP_3);
        properties.put("man.groups[2].type", COMMERCIAL);
        properties.put("man.groups[1].name", GROUP_2);
        properties.put("man.groups[1].type", FREE);
        properties.put("man.hoobies[0]", CARS);
        properties.put("man.hoobies[3]", COMPUTERS);
        properties.put("man.hoobies[2]", WOMEN);
        properties.put("man.hoobies[1]", SCIENCE);
        properties.put("man.married", false);
        properties.put("man.insurance.cost", EXPECTED_MAN_COST);
        properties.put("man.insurance.valid", true);
        return properties;
    }

// Path: src/test/java/pl/jalokim/propertiestojson/domain/MainObject.java
// @Getter
// @Setter
// public class MainObject {
// 
//     private Man man;
//     private Insurance insurance;
//     private String field1;
//     private String field2;
// }


// Path: src/test/java/pl/jalokim/propertiestojson/util/AbstractPropertiesToJsonConverterTest.java
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import org.assertj.core.api.Assertions;
import pl.jalokim.propertiestojson.domain.MainObject;

        return properties;
    }

    protected Properties initProperlyProperties() {
        Properties properties = new Properties();
        properties.put("man.name", NAME);
        properties.put("man.surname", SURNAME);
        properties.put("man.address.city", CITY);
        properties.put("man.address.street", STREET);
        properties.put("insurance.type", INSRANCE_TYPE);
        properties.put("insurance.cost", COST_INT_VALUE);
        properties.put("field1", FIELD1_VALUE);
        properties.put("field2", FIELD2_VALUE);
        properties.put("man.emails", Arrays.asList(EMAIL_1, EMAIL_2, EMAIL_3, EMAIL_3));
        properties.put("man.groups[0].name", GROUP_1);
        properties.put("man.groups[0].type", COMMERCIAL);
        properties.put("man.groups[2].name", GROUP_3);
        properties.put("man.groups[2].type", COMMERCIAL);
        properties.put("man.groups[1].name", GROUP_2);
        properties.put("man.groups[1].type", FREE);
        properties.put("man.hoobies[0]", CARS);
        properties.put("man.hoobies[3]", COMPUTERS);
        properties.put("man.hoobies[2]", WOMEN);
        properties.put("man.hoobies[1]", SCIENCE);
        properties.put("man.married", false);
        properties.put("man.insurance.cost", EXPECTED_MAN_COST);
        properties.put("man.insurance.valid", true);
        return properties;
    }

    protected void assertGroupByIdAndExpectedValues(MainObject mainObject, int index, String name, String type) {