@Test
public void testSetWikiReference()
{

    DocumentReference reference = new DocumentReference("wiki", "space", "page");
    reference.setWikiReference(new WikiReference("newwiki"));
    Assert.assertEquals(new DocumentReference("newwiki", "space", "page"), reference);
}