src/test/java/edu/ucla/library/bucketeer/ItemTest.java
@Test
    public final void testSetWorkflowState() {
        final Item item = new Item(TEST_ID, FILE_PATH).setWorkflowState(WorkflowState.FAILED);

        assertEquals(WorkflowState.FAILED, item.getWorkflowState());
    }
/**
     * Tests setting and getting workflow state.
     */
Tests setting and getting workflow state.
Tests setting and getting workflow state .
@Test
    public final void testSetWorkflowState() {
        final Item item = new Item(TEST_ID, FILE_PATH).setWorkflowState(WorkflowState.FAILED);
        assertEquals(WorkflowState.FAILED, item.getWorkflowState());
    }
@ Test public final void testSetWorkflowState ( ) { final Item item = new Item ( TEST_ID , FILE_PATH ) . setWorkflowState ( WorkflowState . FAILED ) ; assertEquals ( WorkflowState . FAILED , item . getWorkflowState ( ) ) ; }
Tests setting and getting workflow state.
Tests setting and getting workflow state .