public void Can_Update_LPC_Report()
        {
            var lpcReport = _lpcReportRepository.GetSingle(1);

            lpcReport.Name = $"Pieter Claesen Wyckoff House X";

            var result = _dbContext.SaveChanges();

            Assert.Equal(0, result);
        }
        private void CreateTestData(NycLandmarkContext dbContext)
        {
            var boroughs    = EnumHelper.EnumToList <Borough>().Select(e => e.GetDescription());
            var objectTypes = EnumHelper.EnumToList <ObjectType>().Select(e => e.GetDescription());

            var i = 0;

            GenFu.GenFu.Configure <LpcReport>()
            .Fill(l => l.Id, () => ++ i)
            .Fill(l => l.LPNumber, () => $"LP-{i,5:D5}")
            .Fill(l => l.LPCId, () => $"{i,5:D5}")
            .Fill(l => l.Borough, () => BaseValueGenerator.GetRandomValue(boroughs))
            .Fill(l => l.ObjectType, () => BaseValueGenerator.GetRandomValue(objectTypes))
            .Fill(l => l.Landmarks);

            _lpcReports = GenFu.GenFu.ListOf <LpcReport>(20);

            dbContext.LPCReports.AddRange(_lpcReports);
            dbContext.SaveChanges();
        }