public void SetUp() { _assemblyPath = @"X:\Some\path"; _pdfToolsLicensing = Substitute.For <IPdfToolsLicensing>(); var assemblyHelper = Substitute.For <IAssemblyHelper>(); assemblyHelper.GetAssemblyDirectory().Returns(_assemblyPath); _osHelper = Substitute.For <IOsHelper>(); _translation = new ProgramTranslation(); _startUpCondition = new PdfToolsLicensingStartUpCondition(_pdfToolsLicensing, new TranslationFactory(), _osHelper, assemblyHelper); }
public void SetUp() { _pdfToolsLicensing = Substitute.For <IPdfToolsLicensing>(); _translation = new ProgramTranslation(); _startUpCondition = new PdfToolsLicensingStartUpCondition(_pdfToolsLicensing, _translation); }