public async Task Create_Returns201Created_When_EverythingCorrect() { IActionResult actionResult = await _companyController.CreateAsync(null); Assert.That(actionResult is CreatedResult result && result.StatusCode == 201); }
public async Task Create_Returns201Created_When_EverythingCorrect() { IActionResult actionResult = await _companyController.CreateAsync(null); Assert.That(actionResult is CreatedResult result && result.StatusCode == 201); }