public void Initialization() { var type = ObjectMother.GetDeclaringType(); var attribute = new TypePointcutAttribute(type); Assert.That(attribute.Pointcut, Is.TypeOf <TypePointcut>().With.Property("Type").EqualTo(type)); }
public void SetUp() { _builder = new PointcutBuilder(); _typePointcutAttribute = new TypePointcutAttribute(typeof(int)); _memberNamePointcutAttribute = new MemberNamePointcutAttribute("member"); _andAttribute = new AndAttribute(); _orAttribute = new OrAttribute(); _notAttribute = new NotAttribute(); }