public virtual void SetUp()
		{
	        cascadeValue = "";
			_cascade = new CascadeExpression<object>(null, value => cascadeValue = value);
		}
 public virtual void SetUp()
 {
     _mockPart = MockRepository.GenerateStub<IMappingPart>();
     _cascade = new CascadeExpression<IMappingPart>(_mockPart);
 }
 public HibernateMappingPart()
 {
     defaultCascade = new CascadeExpression<HibernateMappingPart>(this, value => attributes.Set("DefaultCascade", Layer.UserSupplied, value));
     defaultAccess = new AccessStrategyBuilder<HibernateMappingPart>(this, value => attributes.Set("DefaultAccess", Layer.UserSupplied, value));
 }
 public HibernateMappingPart()
 {
     defaultCascade = new CascadeExpression<HibernateMappingPart>(this, value => attributes.Set(x => x.DefaultCascade, value));
     defaultAccess = new AccessStrategyBuilder<HibernateMappingPart>(this, value => attributes.Set(x => x.DefaultAccess, value));
 }