public void ProteinService_Refresh_RefreshesProjects()
        {
            // Arrange
            var summaryService = CreateProjectSummaryService();
            var service        = new ProteinService(new ProteinDataContainer(), summaryService, Logging.TestLogger.Instance);

            Assert.AreEqual(0, service.GetProjects().Count());
            // Act
            service.Refresh(null);
            // Assert
            Assert.AreNotEqual(624, service.GetProjects().Count());
        }
        public void ProteinService_GetProjects_Test()
        {
            // Arrange
            var dataContainer = new ProteinDataContainer();
            var projects      = Enumerable.Range(1, 5).ToList();

            foreach (int projectNumber in projects)
            {
                dataContainer.Data.Add(CreateValidProtein(projectNumber));
            }
            var service = new ProteinService(dataContainer, null, null);
            // Act
            var serviceProjects = service.GetProjects();

            // Assert
            Assert.IsTrue(projects.SequenceEqual(serviceProjects));
        }