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