public void SwimStyleContoller_InstanceofViewResult()
        {
            //arrange
            var serviceMock = new Mock <ISwimStyleService>();

            serviceMock.Setup(a => a.SelectSwimStyles());
            SwimStyleController controller = new SwimStyleController(serviceMock.Object);

            //act
            var result     = controller.Index();
            var viewResult = Is.TypeOf <ViewResult>();

            //assert
            Assert.That(result, viewResult);
        }
        public void SwimStyleController_Result_NotNull()
        {
            //arrange

            var serviceMock = new Mock <ISwimStyleService>();

            serviceMock.Setup(a => a.SelectSwimStyles());
            SwimStyleController controller = new SwimStyleController(serviceMock.Object);

            //act
            var result = controller.Index();

            //assert
            Assert.IsNotNull(result);
        }