public void CanMapFromFootballToSoccer()
        {
            var config = new SportMappingConfiguration();
            config.Configure();

            var mapper = new AutoMapperMappingService();
            var soccer = new SoccerPlayer { Name = "Fozzy" };
            var mapped = mapper.Map<SoccerPlayer, FootballPlayer>(soccer);

            Assert.Equal("Fozzy", mapped.Name);
        }
        public void CanMapFromFootballToSoccer()
        {
            var config = new SportMappingConfiguration();

            config.Configure();

            var mapper = new AutoMapperMappingService();
            var soccer = new SoccerPlayer {
                Name = "Fozzy"
            };
            var mapped = mapper.Map <SoccerPlayer, FootballPlayer>(soccer);

            Assert.Equal("Fozzy", mapped.Name);
        }