@SuppressWarnings("unchecked")
  @Before
  public void beforeTest() {
    this.recordSerializer = TestData.getIntStringTupleSerializer();

    this.record1Comparator = TestData.getIntStringTupleComparator();
    this.record2Comparator = TestData.getIntStringTupleComparator();

    this.recordPairComparator =
        new GenericPairComparator(this.record1Comparator, this.record2Comparator);

    this.pairSerializer = new IntPairSerializer();
    this.pairComparator = new TestData.IntPairComparator();
    this.pairRecordPairComparator = new IntPairTuplePairComparator();
    this.recordPairPairComparator = new TupleIntPairPairComparator();

    this.memoryManager = new MemoryManager(MEMORY_SIZE, 1);
    this.ioManager = new IOManagerAsync();
  }
  @SuppressWarnings({"unchecked", "rawtypes"})
  @Before
  public void beforeTest() {
    this.recordSerializer = TestData.getIntStringTupleSerializer();

    this.record1Comparator = TestData.getIntStringTupleComparator();
    this.record2Comparator = TestData.getIntStringTupleComparator();
    this.recordPairComparator =
        new GenericPairComparator(this.record1Comparator, this.record2Comparator);

    this.recordBuildSideAccesssor = TestData.getIntIntTupleSerializer();
    this.recordProbeSideAccesssor = TestData.getIntIntTupleSerializer();
    this.recordBuildSideComparator = TestData.getIntIntTupleComparator();
    this.recordProbeSideComparator = TestData.getIntIntTupleComparator();
    this.pactRecordComparator =
        new GenericPairComparator(this.recordBuildSideComparator, this.recordProbeSideComparator);

    this.memoryManager = new MemoryManager(MEMORY_SIZE, 1, PAGE_SIZE, MemoryType.HEAP, true);
    this.ioManager = new IOManagerAsync();
  }