@Test
    public void testSet() {
        Music music = getMusicBasic();
        Field artist = music.getField("artist");
        music.setFieldValue("artist", new StringFieldValue("Don Bingo's Astroburger 1"));
        assertEquals(music.getArtist(), "Don Bingo's Astroburger 1");
        music.setFieldValue(artist, new StringFieldValue("Don Bingo's Astroburger 2"));
        assertEquals(music.getArtist(), "Don Bingo's Astroburger 2");
        music.setFieldValue(artist, new StringFieldValue("Don Bingo's Astroburger 3"));
        assertEquals(music.getArtist(), "Don Bingo's Astroburger 3");
        music.setFieldValue("artist", new StringFieldValue("Don Bingo's Astroburger 4"));
        assertEquals(music.getArtist(), "Don Bingo's Astroburger 4");
        music.setFieldValue("artist", new StringFieldValue("Don Bingo's Astroburger 5"));
        assertEquals(music.getArtist(), "Don Bingo's Astroburger 5");
    }
Tests vespa-documentgen-plugin

@author vegardh
documentgen-test/src/test/java/com/yahoo/vespa/config/DocumentGenPluginTest.java