public async Task GetDivisionsAsync() { // Arrange var repository = new DivisionRepository(); var dbContext = A.Fake <ProFootballEntities>(); dbContext.SetUpFakeDivisionsAsync(); // Act var result = await repository.GetEntitiesAsync(dbContext); // Assert Assert.IsInstanceOf <IEnumerable <Division> >(result); }