public void SetUp() { _proxy = MutableTypeObjectMother.Create(); _addedCtor = _proxy.AddConstructor(); _tracker = new ProxyTypeModificationTracker(_proxy, new[] { _addedCtor.Body }); }
private void CheckIsModified(Action <MutableType> modificationAction) { var proxy = MutableTypeObjectMother.Create(); var context = new ProxyTypeModificationTracker(proxy, new Expression[0]); modificationAction(proxy); Assert.That(context.IsModified(), Is.True); }