public void UsingStubsWithProperties() { MockRepository mocks = new MockRepository(); ISomeInterfaceWithProperties stub = mocks.Stub<ISomeInterfaceWithProperties>(); stub.Age = 1; stub.Name = "Itamar"; Assert.AreEqual("Itamar",stub.Name); }