private static void AssertReturnIsEqualToExpected( string input, string expected, IModifierFormatter modifierFormatter) { Paragraph paragraph = DocumentContentHelper.GetParagraphFromWordDocument(input); var modifierUnitStrategy = new ModifierStrategy(modifierFormatter); // act var shuffledParagraph = modifierUnitStrategy.ShuffleSentenceUnit(paragraph); Assert.That(shuffledParagraph.InnerText, Is.EqualTo( expected)); }
public ModifierStrategy(IModifierFormatter modifierFormatter) { _modifierFormatter = modifierFormatter; }