public override void EstablishContext()
 {
     base.EstablishContext();
     RepositoryMock = new Mock <IComponentInterfaceRepository>();
     UnitOfWork     = new FakeUnitOfWork();
     Service        = new ComponentInterfaceService(UnitOfWork, RepositoryMock.Object);
 }
示例#2
0
 public ComponentInterfaceController(IComponentInterfaceService componentInterfaceService)
 {
     _componentInterfaceService = componentInterfaceService;
 }