public void ValidateConvertInputDoc() { MockConversionManager.ConvertInput(MockFormatConverter.InputFormat, _mTestPath + TestDoc, _mTestPath); Assert.IsTrue(MockConversionManager.GetMockFormatConverter().IsWordToOneNoteCalled); Assert.IsFalse(MockConversionManager.GetMockFormatConverter().IsPdfToOneNoteCalled); Assert.IsFalse(MockConversionManager.GetMockFormatConverter().IsPowerPointToOneNoteCalled); Assert.IsFalse(MockConversionManager.GetMockFormatConverter().IsInDesignToOneNoteCalled); }
public void ValidateSupportedFormats() { var expectedFormats = new List <string>(); expectedFormats.Add(MockFormatConverter.InputFormat); var supportedFormats = MockConversionManager.GetSupportedFormats(); CollectionAssert.AreEqual(expectedFormats, supportedFormats); }
public void TestInitialize() { MockConversionManager.InitializeWithMockData(); }