throws Exception
{
final String rId = repositoryIdForTest() + "-proxy";
// create the repo
final ObrProxyRepository proxyRepository = repositories().create(ObrProxyRepository.class, rId)
.asProxyOf("http://sigil.codecauldron.org/spring-external.obr")
.save();
// check for equality here
assertObrPath(rId, "http://sigil.codecauldron.org/", "/spring-external.obr");
// note internal opposed to external
proxyRepository.asProxyOf("http://sigil.codecauldron.org/spring-internal.obr").save();
// check again for equality here
assertObrPath(rId, "http://sigil.codecauldron.org/", "/spring-internal.obr");
// note sigil2
proxyRepository.asProxyOf("http://sigil2.codecauldron.org/spring-external.obr").save();
// check again for equality here
assertObrPath(rId, "http://sigil2.codecauldron.org/", "/spring-external.obr");
// note sigil3 and external -> internal
proxyRepository.asProxyOf("http://sigil3.codecauldron.org/spring-internal.obr").save();
// check again for equality here
assertObrPath(rId, "http://sigil3.codecauldron.org/", "/spring-internal.obr");
}