src/test/java/edu/ucla/library/bucketeer/JobFactoryTest.java
@Test
    public final void testDupeHeadersThrowsException() throws ProcessingException, IOException {
        myThrown.expect(ProcessingException.class);
        myThrown.expectMessage("has one or more duplicate column headers");
        final Job job = JobFactory.getInstance().createJob(TEST_JOB_NAME, BAD_HEADERS);
    }
/**
     * Test JobFactory rejects files with duplicate headers.
     */
Test JobFactory rejects files with duplicate headers.
Test JobFactory rejects files with duplicate headers .
@Test
    public final void testDupeHeadersThrowsException() throws ProcessingException, IOException {
        myThrown.expect(ProcessingException.class);
        myThrown.expectMessage("has one or more duplicate column headers");
        final Job job = JobFactory.getInstance().createJob(TEST_JOB_NAME, BAD_HEADERS);
    }
@ Test public final void testDupeHeadersThrowsException ( ) throws ProcessingException , IOException { myThrown . expect ( ProcessingException . class ) ; myThrown . expectMessage ( "has one or more duplicate column headers" ) ; final Job job = JobFactory . getInstance ( ) . createJob ( TEST_JOB_NAME , BAD_HEADERS ) ; }
Test JobFactory rejects files with duplicate headers.
Test JobFactory rejects files with duplicate headers .