/*
 * Copyright 2015 Datalogics, Inc.
 */

package com.datalogics.pdf.samples.printing;

import com.datalogics.pdf.samples.SampleTest;

import org.junit.Test;

/**
 * Tests the PrintPdf sample.
 */
public class PrintPdfTest extends SampleTest {
    @Test
    public void testMain() throws Exception {
        final String[] args = new String[0];
        PrintPdf.main(args);
    }
}

Add first version of unit test
Add first version of unit test

The test currently calls main() and does nothing else, not even
asserting results (there's nothing to assert, really).

It also passes an empty argument list, letting the sample print the
default document.
