@Test
public void testToAddressPathString() {

    Address addr = Address.root();
    assert addr.toAddressPathString().equals("/") : addr.toAddressPathString();
    addr = Address.root().add("one", "two");
    assert addr.toAddressPathString().equals("/one=two") : addr.toAddressPathString();
    addr = Address.root().add("one", "two", "three", "four");
    assert addr.toAddressPathString().equals("/one=two/three=four") : addr.toAddressPathString();
    addr = Address.root().add("one", "two", "three", "four", "5", "6");
    assert addr.toAddressPathString().equals("/one=two/three=four/5=6") : addr.toAddressPathString();
}