@Test
    public void requireThatEmptyKeyValuesAreOk() {
        DocumentId docId = new DocumentId(new IdIdString("namespace", "type", "", "foobar"));
        assertEquals("id:namespace:type::foobar", docId.toString());
    }
Created with IntelliJ IDEA.
User: magnarn
Date: 10/16/12
Time: 9:10 AM
document/src/test/java/com/yahoo/document/IdIdStringTest.java