public async Task UpdateInstruction_ValidInstruction_ShouldReturnOk() { // Arrange control.Status = QualityControlStatus.Open; instruction.Status = InstructionStatus.Pending; // Act var result = await _controller.UpdateInstructionAsync(1); // Assert result.Should().BeOfType <OkResult>(); }