@Test
public void testSerializeSpaceReference() throws Exception
{

    EntityReference reference = resolver.resolve("wiki:space1.space2", EntityType.SPACE);
    Assert.assertEquals("wiki:space1\\.space2", serializer.serialize(reference));
}