src/test/java/edu/ucla/library/bucketeer/ItemTest.java
@Test
    public final void testSetFilePath() throws IOException {
        final Item item = new Item(TEST_ID, "fake_path");
        final String filePath = new File(FILE_PATH).getAbsolutePath();

        assertEquals(filePath, item.setFilePath(Optional.of(filePath)).getFilePath().get());
    }
/**
     * Tests setting the file path.
     *
     * @throws IOException If there is trouble getting the canonical file path
     */
Tests setting the file path.
@throws IOException If there is trouble getting the canonical file path
Tests setting the file path . @throws IOException If there is trouble getting the canonical file path
@Test
    public final void testSetFilePath() throws IOException {
        final Item item = new Item(TEST_ID, "fake_path");
        final String filePath = new File(FILE_PATH).getAbsolutePath();
        assertEquals(filePath, item.setFilePath(Optional.of(filePath)).getFilePath().get());
    }
@ Test public final void testSetFilePath ( ) throws IOException { final Item item = new Item ( TEST_ID , "fake_path" ) ; final String filePath = new File ( FILE_PATH ) . getAbsolutePath ( ) ; assertEquals ( filePath , item . setFilePath ( Optional . of ( filePath ) ) . getFilePath ( ) . get ( ) ) ; }
Tests setting the file path.
Tests setting the file path .