// Path: src/main/java/net/kimleo/rec/common/Pair.java
// public class Pair<K, V> {
//     public final K first;
//     public final V second;
// 
// 
//     public Pair(K first, V second) {
//         this.first = first;
//         this.second = second;
//     }
// 
//     public K getFirst() {
//         return first;
//     }
// 
//     public V getSecond() {
//         return second;
//     }
// 
// }
// 
// Path: src/main/java/net/kimleo/rec/v2/accessor/lexer/Lexer.java
// public static Pair<Map<String, Integer>, Integer> buildFieldMapPair(String... fields) {
//     final Map<String, Integer> accessorMap = new LinkedHashMap<>();
//     final Pair<List<FieldType>, Integer> lex = lex(fields);
//     final List<FieldType> accessors = lex.getFirst();
//     final Integer leastCapacity = lex.getSecond();
//     boolean reversed = buildFieldMaps(accessorMap, accessors, 0, 1);
// 
//     if (reversed) {
//         buildFieldMaps(accessorMap, reversed(accessors), -1,-1);
//     }
// 
//     return new Pair<>(accessorMap, leastCapacity);
// }


import net.kimleo.rec.common.Pair;
import org.junit.Test;
import java.util.Map;
import static net.kimleo.rec.v2.accessor.lexer.Lexer.buildFieldMapPair;
import static org.junit.Assert.assertTrue;
package net.kimleo.rec.v2.accessor;




public class RecordWrapperTest {
    @Test
    public void shouldBuildMapPairSuccessfully() throws Exception {
// Path: src/main/java/net/kimleo/rec/common/Pair.java
// public class Pair<K, V> {
//     public final K first;
//     public final V second;
// 
// 
//     public Pair(K first, V second) {
//         this.first = first;
//         this.second = second;
//     }
// 
//     public K getFirst() {
//         return first;
//     }
// 
//     public V getSecond() {
//         return second;
//     }
// 
// }
// 
// Path: src/main/java/net/kimleo/rec/v2/accessor/lexer/Lexer.java
// public static Pair<Map<String, Integer>, Integer> buildFieldMapPair(String... fields) {
//     final Map<String, Integer> accessorMap = new LinkedHashMap<>();
//     final Pair<List<FieldType>, Integer> lex = lex(fields);
//     final List<FieldType> accessors = lex.getFirst();
//     final Integer leastCapacity = lex.getSecond();
//     boolean reversed = buildFieldMaps(accessorMap, accessors, 0, 1);
// 
//     if (reversed) {
//         buildFieldMaps(accessorMap, reversed(accessors), -1,-1);
//     }
// 
//     return new Pair<>(accessorMap, leastCapacity);
// }


// Path: src/test/java/net/kimleo/rec/v2/accessor/RecordWrapperTest.java
import net.kimleo.rec.common.Pair;
import org.junit.Test;
import java.util.Map;
import static net.kimleo.rec.v2.accessor.lexer.Lexer.buildFieldMapPair;
import static org.junit.Assert.assertTrue;

package net.kimleo.rec.v2.accessor;




public class RecordWrapperTest {
    @Test
    public void shouldBuildMapPairSuccessfully() throws Exception {
        Pair<Map<String, Integer>, Integer> pair = buildFieldMapPair(