public void StandardStringsShouldNotHaveAStandardSize() { var megaRepository = _container.Resolve<IRepository<MegaRecord>>(); var mega = new MegaRecord() { SmallStuff = new string('x', 256) }; megaRepository.Create(mega); _session.Flush(); }
public void BigStringsShouldNotBeTruncated() { var megaRepository = _container.Resolve<IRepository<MegaRecord>>(); var mega = new MegaRecord() { BigStuff = new string('x', 20000) }; megaRepository.Create(mega); _session.Flush(); }