public void ShouldAddNewComponent()
        {
            var component = new Component {
                ComponentId = 1
            };

            _componentStore.AddComponent(component);
            Assert.Equal(1, _componentStore.Components.Count());
            Assert.Contains(component, _componentStore.Components);
            Assert.DoesNotContain(new Component {
                ComponentId = 1
            }, _componentStore.Components);
        }
        public void ShouldPersistComponentStore()
        {
            _componentStore.AddComponent(new Component {
                FullName = "component1", Installed = false
            });
            _componentStore.AddComponent(new Component {
                FullName = "component2", Installed = true
            });
            _componentStore.AddComponent(new Component {
                FullName = "component3", Installed = false
            });
            var anotherComponentStoreManager = new GoofyInMemoryComponentStoreManager(new MockComponentDirectoryPathProvider());
            var anotherComponentStore        = new GoofyInMemoryComponentStore(anotherComponentStoreManager);

            anotherComponentStoreManager.StartStore(anotherComponentStore);
            Assert.Equal(3, anotherComponentStore.Components.Count());
        }