private static Mode SeedMode(PreservationContext dbContext, string plant, string title, bool forSupplier)
        {
            var modeRepository = new ModeRepository(dbContext);
            var mode           = new Mode(plant, title, forSupplier);

            modeRepository.Add(mode);
            dbContext.SaveChangesAsync().Wait();
            return(mode);
        }
        public void Add_Mode_ShouldCallAddForMode()
        {
            _dut.Add(_mode);

            _dbSetMock.Verify(s => s.Add(_mode), Times.Once);
        }