public async Task Update_WhenIdIsZero_ShouldReturnBadRequestObjectResult() { var result = await _recordsController.Update(0, Substitute.For <RecordDo>()); result.Should().BeOfType <BadRequestObjectResult>(); }