public void Setup()
 {
     _store = new NetworkBackingStore();
     _asSetParentId = _store as ISetParentId;
     _asIParentId = _store as IParentId;
 }
示例#2
0
 public void Setup()
 {
     TestSupport.Core.Factory fac = new TestSupport.Core.Factory();
     _el = fac.CreateDummyCommentBase(Guid.NewGuid());
     _asIParentId = _el as IParentId;
     _asISetId = _el;
     _asIIdGetter = _el;
     _asISetParentId = _el as ISetParentId;
 }
 public void Setup()
 {
     _el = _Fac.CreateDummyCompoundElementBase(Guid.NewGuid());
     _asISetPortMgrs = _el as ISetPortMgrs;
     _asISetParentId = _el as ISetParentId;
     _asIParentId = _el as IParentId;
     _asISetId = _el;
     _asIIdGetter = _el;
 }