public async Task AddLabelTest() { IActionResult result = await controller.CreateLabel(new CreateLabelModel { Description = "test" }, Version); CreatedAtActionResult response = result as CreatedAtActionResult; Assert.AreEqual(StatusCodes.Status201Created, (int)response.StatusCode); }