    @Test
    public void testUpdate() throws DataAccessException {

        Armor toUpdate = m_armor2;
        setValues(m_armor2, m_armor2.getId(), "Larger Hat",
                2.0, true, 11, 25, 101, 12, 21, "Hat thing", Size.MEDIUM);

        dao.update(getTestCharacterId(), toUpdate);
        Armor updated = dao.find(toUpdate.getId());
        assertEquals(toUpdate, updated);
    }