public UnitTestChampionshipsController()
        {
            // construc
            var options = new DbContextOptionsBuilder <FootballApiContext>()
                          .UseInMemoryDatabase(databaseName: Guid.NewGuid().ToString())
                          .Options;

            context = new FootballApiContext(options);

            context.Championship.Add(new Championship {
                Name = "LaLiga Santander"
            });
            context.Championship.Add(new Championship {
                Name = "Premier League"
            });
            context.Championship.Add(new Championship {
                Name = "Serie A"
            });
            context.SaveChanges();

            championshipsController = new ChampionshipsController(context);
        }
 public void SetUp()
 {
     _createChampionshipService = Substitute.For <ICreateChampionshipService>();
     _championshipsController   = new ChampionshipsController(_createChampionshipService);
 }