public async Task GetSeasonsAsync() { // Arrange var repository = new SeasonRepository(); var dbContext = A.Fake <ProFootballEntities>(); dbContext.SetUpFakeSeasonsAsync(); // Act var result = await repository.GetEntitiesAsync(dbContext); // Assert Assert.IsInstanceOf <IEnumerable <Season> >(result); }