Example #1
0
        public void Parameter_Update_Test()
        {
            //Arrange
            Parameter entity = new Parameter()
            {
                Id    = 3,
                Name  = "Another Name",
                Type  = "bool",
                Value = "33"
            };

            mockRepository
            .Setup(x => x.Update(entity));

            //Act
            bool result = service.Update(entity);

            //Assert
            Assert.True(result);
        }