Example #1
0
        public void Get_WhenCalled_ReturnsDeleteBreed11()
        {
            var deleteId = new Guid("ab2bd817-98cd-4cf3-a80a-53ea0cd9c200");

            var res = new Breeds
            {
                Breed   = "NewBreed",
                GroupId = new Guid("ab2bd817-98cd-4cf3-a80a-53ea0cd91234"),
                Id      = new Guid("ab2bd817-98cd-4cf3-a80a-53ea0cd94321")
            };
            // Act
            var okResult = _controller.UpdateBreed(deleteId, res);

            // Assert
            Assert.IsInstanceOf <NoContentResult>(okResult);
        }