public void TestConstructionWithError()
        {
            var description = new PluginDescription
            {
                Error = "Someone screwed up"
            };
            var viewModel = new InstalledPluginViewModel(description);

            viewModel.HasError.Should().BeTrue();
            viewModel.Error.Should().Be("Someone screwed up");
        }
        public void TestConstructionWithoutName([Values(null, "")] string emptyName)
        {
            var description = new PluginDescription
            {
                Id   = new PluginId("SomeOrg.SomePlugin"),
                Name = emptyName
            };
            var viewModel = new InstalledPluginViewModel(description);

            viewModel.Name.Should().Be("SomeOrg.SomePlugin",
                                       "because absent of a name, the id should be presented to the user as the plugin's name");
        }