public void SaveConfiguration_CorrectWriteIntICollection()
        {
            var config = new ReadonlyCollectionsConfiguration()
            {
                ICollection = new List <int>()
                {
                    1, 2, 3, 4, 5, 6, 7, 8
                },
            };

            _iniWrapper.SaveConfiguration(config);

            _iniParser.Received(1).Write(nameof(ReadonlyCollectionsConfiguration), nameof(ReadonlyCollectionsConfiguration.ICollection), "1,2,3,4,5,6,7,8");
        }
        public void SaveConfiguration_ShouldSaveCorrectWriteIntIntIReadonlyDictionary()
        {
            var config = new ReadonlyCollectionsConfiguration()
            {
                IReadonlyDictionary = new Dictionary <int, int>()
                {
                    [1] = 2,
                    [2] = 3
                }
            };

            _iniWrapper.SaveConfiguration(config);
            _iniParser.Received(1).Write(nameof(ReadonlyCollectionsConfiguration.IReadonlyDictionary), "1", "2");
            _iniParser.Received(1).Write(nameof(ReadonlyCollectionsConfiguration.IReadonlyDictionary), "2", "3");
        }