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); }