public void CreateEntityListTest() { LocationMapper _locationMapper = MapperFactory.createLocationMapper(); LocationDTO LocationDTO = DTOFactory.CreateLocationDTO(1, "Venezolania", "cagua"); List <LocationDTO> dtos = new List <LocationDTO>(); dtos.Add(LocationDTO); dtos.Add(LocationDTO); var result = _locationMapper.CreateEntityList(dtos); Assert.IsInstanceOf <List <Location> >(result); }