public void ShouldRespectBaseUrl() { var res = SerializeAsJson(Configure("/prefix"), new Model()); Assert.Equal("http://example.com/example", res["_links"]["external"]["href"]); Assert.Equal ("/prefix/model", res["_links"]["all"]["href"]); }