public void TestCtor()
        {
            var toggle = new DataSourceDisplayModeToggleButton();

            toggle.DisplayMode.Should().Be(DataSourceDisplayMode.Filename);
            toggle.ShowFilename.Should().BeTrue();
            toggle.ShowCharacterCode.Should().BeFalse();
        }
        public void TestChangeShowFilename()
        {
            var toggle = new DataSourceDisplayModeToggleButton {
                DisplayMode = DataSourceDisplayMode.CharacterCode
            };

            toggle.ShowFilename = true;
            toggle.ShowFilename.Should().BeTrue();
            toggle.ShowCharacterCode.Should().BeFalse();
            toggle.DisplayMode.Should().Be(DataSourceDisplayMode.Filename);
        }