/*
 * Copyright (c) 2014-2024, MiLaboratories Inc. All Rights Reserved
 *
 * Before downloading or accessing the software, please read carefully the
 * License Agreement available at:
 * https://github.com/milaboratory/mixcr/blob/develop/LICENSE
 *
 * By downloading or accessing the software, you accept and agree to be bound
 * by the terms of the License Agreement. If you do not want to agree to the terms
 * of the Licensing Agreement, you must not download or access the software.
 */
package com.milaboratory.mixcr.cli;

import com.milaboratory.mixcr.util.MiXCRVersionInfo;
import com.milaboratory.test.TestUtil;
import org.junit.Ignore;
import org.junit.Test;

import java.util.Collections;
import java.util.Date;

public class RefineTagsAndSortReportTest {
    // @Before
    // public void before() {
    //     GlobalObjectMappers.addModifier(om -> om.registerModule(kotlinModule(builder -> Unit.INSTANCE)));
    // }

    @Test
    @Ignore //fixme: remove after merge from new tags branch
    public void testNullReport() {
        RefineTagsAndSortReport r = new RefineTagsAndSortReport(
                new Date(),
                "",
                Collections.emptyList(),
                Collections.emptyList(),
                0L,
                MiXCRVersionInfo.get().getShortestVersionString(),
                null
        );
        TestUtil.assertJson(r);
    }

    // @Test
    // @Ignore //fixme: remove after merge from new tags branch
    // public void testNotNullReport() {
    //     CorrectAndSortTagsReport r = new CorrectAndSortTagsReport(
    //             new Date(),
    //             "",
    //             new String[0],
    //             new String[0],
    //             0L,
    //             MiXCRVersionInfo.get().getShortestVersionString(),
    //             new CorrectionReport(Collections.singletonList(new CorrectionStepReport("step1")))
    //     );
    //     TestUtil.assertJson(r);
    // }
}
