public void TryReadUnknownResourceType() { ResourceLocation rl = new ResourceLocation(client.Endpoint); rl.Collection = "thisreallywondexist"; rl.Id = "1"; HttpTests.AssertFail(client, () => client.Fetch <Patient>(rl.ToUri()), HttpStatusCode.NotFound); }
public void TryReadNonExistingResource() { HttpTests.AssertFail(client, () => client.Read <Patient>("3141592unlikely"), HttpStatusCode.NotFound); }