Exemplo n.º 1
0
        public void SetProperty()
        {
            _implementationMock.Expect(mock => mock.SetProperty(_propertyFake, 174));
            _implementationMock.Replay();

            _instance.SetProperty(_propertyFake, 174);
            _implementationMock.VerifyAllExpectations();
        }
Exemplo n.º 2
0
 public void SetProperty()
 {
     _instance.SetProperty("String", "damn");
     Assert.That(_instance.String, Is.EqualTo("damn"));
 }