public void GetAllSpeakerProfiles_ReturnsOnlyUsersWhoHaveSubmittedSessions()
        {
            var sessionRespository = new SessionRepositoryBuilder().WithSessionSubmittedBy("fred").Build();
            var userProfileRepository = new UserProfileRepositoryBuilder().WithUser("fred").WithUser("bob").Build();
            var speakerRepository = new SpeakerRepository(sessionRespository, userProfileRepository);

            var allSpeakers = speakerRepository.GetAllSpeakerProfiles();

            Assert.That(allSpeakers.Select(s => s.UserName), Is.EqualTo(new[] {"fred"}));
        }
        public void GetAllSpeakerProfiles_DoesNotReturnAUserWhoHasNotSubmittedASession()
        {
            var sessionRespository = new SessionRepositoryBuilder().Build();
            var userProfileRepository = new UserProfileRepositoryBuilder().WithUser("fred").Build();
            var speakerRepository = new SpeakerRepository(sessionRespository, userProfileRepository);

            var allSpeakers = speakerRepository.GetAllSpeakerProfiles();

            Assert.That(allSpeakers, Is.Empty);
        }