@Test
public void shouldStoreFirstVersionAsZeroForSecondPage() {
WikiPage root = wikiPageFactory.makePage(new File(""), "RooT", null);
root.commit(root.getData());
WikiPage page = root.addChildPage("PageOne");
page.commit(root.getData());
assertEquals(1, root.getVersions().size());
assertEquals("0", root.getVersions().iterator().next().getName());
assertEquals(1, page.getVersions().size());