public void TestMaleGenderCountAsExpected()
        {
            ////Arrange
            var mock = new Mock <IPetRepository>();

            mock.Setup(p => p.GetPetNamesAccordingToGender()).Returns(GetMockResultWithError());
            PetController controller = new PetController(mock.Object);

            //Act
            var result = controller.Error();

            //Assert
            Assert.IsInstanceOfType(result, typeof(ViewResult));
        }