public void Instance_Is_GeographyRepository_Of_CreatorInfo() { //Arrange var type = typeof(TravelRepository <Country>); var context = new Mock <TravelDbContext>(); //Act var repository = new AdditionalRegionsInfoRepository <Country>(context.Object); //Assert Assert.IsInstanceOf(type, repository); }
public void Instance_Is_GeographyRepository_Of_CreatorInfo() { //Arrange var type = typeof(GeographyRepository <Data.Entity.Model.Geography.Country>); var context = new Mock <GeographyDatabaseContext>(); //Act var repository = new AdditionalRegionsInfoRepository <Model.Geography.Country>(context.Object); //Assert Assert.IsInstanceOf(type, repository); }