public void RunSetsFontAndFontSize() { var setFontAndSize = new SetFontAndSize(Font1Name, 69.42m); var context = new TestOperationContext(); setFontAndSize.Run(context); var state = context.GetCurrentState(); Assert.Equal(69.42m, state.FontState.FontSize); Assert.Equal(Font1Name, state.FontState.FontName); }