public void ShouldArrangePropertySetWithMatcher() { // Arrange var container = new MockingContainer <Module>(); container.ArrangeSet <IService>(x => x.Value = Arg.AnyInt).MustBeCalled(); var service = container.Get <IService>(); // Act service.Value = 99; // Assert container.Assert <IService>(); }