src/test/java/edu/ucla/library/bucketeer/JobFactoryTest.java
@Test
    public final void testSpacesThrowsException() throws ProcessingException, IOException {
        myThrown.expect(ProcessingException.class);
        myThrown.expectMessage("There are spaces (\" \")");
        final Job job = JobFactory.getInstance().createJob(TEST_JOB_NAME, FILE_WITH_SPACES);
    }
/**
     * Test JobFactory rejects files with spaces in "File Name" entries.
     */
Test JobFactory rejects files with spaces in "File Name" entries.
Test JobFactory rejects files with spaces in " File Name " entries .
@Test
    public final void testSpacesThrowsException() throws ProcessingException, IOException {
        myThrown.expect(ProcessingException.class);
        myThrown.expectMessage("There are spaces (\" \")");
        final Job job = JobFactory.getInstance().createJob(TEST_JOB_NAME, FILE_WITH_SPACES);
    }
@ Test public final void testSpacesThrowsException ( ) throws ProcessingException , IOException { myThrown . expect ( ProcessingException . class ) ; myThrown . expectMessage ( "There are spaces (\" \")" ) ; final Job job = JobFactory . getInstance ( ) . createJob ( TEST_JOB_NAME , FILE_WITH_SPACES ) ; }
Test JobFactory rejects files with spaces in "File Name" entries.
Test JobFactory rejects files with spaces in " File Name " entries .