Exemplo n.º 1
0
        public void FontSize_Decrease_Changes_WindowProperties_FontSize()
        {
            mWindowProperties.FontSize = 12;
            var underTest = new ConfigurationOptionTabViewModel(mWindowProperties);

            underTest.DecreaseFontSize();
            mWindowProperties.FontSize.Should().Be(11);
        }
Exemplo n.º 2
0
 public void FontSize_Decrease_Changes_WindowProperties_FontSize_Not_Underneath_0()
 {
     mUnderTest.DecreaseFontSize();
     mWindowProperties.FontSize.Should().Be(0);
 }