public async Task TestGetNotFoundEquipmentType() { try { await CrudClient.GetElementById("1"); } catch (System.Net.Http.HttpRequestException exception) { Assert.Contains("404", exception.Message); return; } Assert.False(true, "response must be not found"); }