src/test/java/edu/ucla/library/bucketeer/ItemTest.java
@Test
    public final void testItemStringString() throws IOException {
        final Item item = new Item(TEST_ID, FILE_PATH);

        assertEquals(TEST_ID, item.getID());
        assertEquals(new File(FILE_PATH).getPath(), item.getFilePath().get());
    }
/**
     * Tests Item construction with ID and file path.
     */
Tests Item construction with ID and file path.
Tests Item construction with ID and file path .
@Test
    public final void testItemStringString() throws IOException {
        final Item item = new Item(TEST_ID, FILE_PATH);
        assertEquals(TEST_ID, item.getID());
        assertEquals(new File(FILE_PATH).getPath(), item.getFilePath().get());
    }
@ Test public final void testItemStringString ( ) throws IOException { final Item item = new Item ( TEST_ID , FILE_PATH ) ; assertEquals ( TEST_ID , item . getID ( ) ) ; assertEquals ( new File ( FILE_PATH ) . getPath ( ) , item . getFilePath ( ) . get ( ) ) ; }
Tests Item construction with ID and file path.
Tests Item construction with ID and file path .