public override void SetUp() { base.SetUp(); _folder1 = Folder.NewObject(); _fileSystemItem1 = FileSystemItem.NewObject(); _fileSystemItem2 = FileSystemItem.NewObject(); _fileSystemItem3 = FileSystemItem.NewObject(); _folder1.FileSystemItems.Add(_fileSystemItem1); _folder1.FileSystemItems.Add(_fileSystemItem2); TestableClientTransaction.CreateSubTransaction().EnterDiscardingScope(); _folder1.FileSystemItems.EnsureDataComplete(); _collectionEndPoint = (CollectionEndPoint)GetEndPoint <StateUpdateRaisingCollectionEndPointDecorator> (RelationEndPointID.Resolve(_folder1, o => o.FileSystemItems)).InnerEndPoint; _fileSystemItem1EndPoint = GetEndPoint <RealObjectEndPoint> (RelationEndPointID.Resolve(_fileSystemItem1, oi => oi.ParentFolder)); _fileSystemItem2EndPoint = GetEndPoint <RealObjectEndPoint> (RelationEndPointID.Resolve(_fileSystemItem2, oi => oi.ParentFolder)); _fileSystemItem3EndPoint = GetEndPoint <RealObjectEndPoint> (RelationEndPointID.Resolve(_fileSystemItem3, oi => oi.ParentFolder)); }