public void RemoveAdvisorWhenConfigIsFrozen() { ProxyFactoryObject fac = CreateFrozenProxyFactory(); fac.IsFrozen = true; Assert.Throws <AopConfigException>(() => fac.RemoveAdvisor(new PointcutForVoid())); }
public void RemoveAdvisorWhenConfigIsFrozen() { ProxyFactoryObject fac = CreateFrozenProxyFactory(); fac.IsFrozen = true; fac.RemoveAdvisor(new PointcutForVoid()); }