public SyncProcessor(IResxLoader resourceFileLoader, RftContext ctx)
        {
            _resourceFileLoader = resourceFileLoader;
            _resourceReader = new ResxStringResourceReader();

            GetContext = () => ctx;
        }
        public void LoadAllResxFileTest()
        {
            var rr = new ResxStringResourceReader();
            var resxFileContent = new StringReader(ResourceFilesLoader.Load(ResourceFilesLoader.DefaultResources));

            var result = rr.ResxToResourceStringDictionary(resxFileContent);

            Assert.That(result.Count, Is.EqualTo(2515));
        }
        public void LoadSingleWithCommentResxFileTest()
        {
            var rr = new ResxStringResourceReader();
            var resxFileContent = new StringReader(ResourceFilesLoader.Load(ResourceFilesLoader.SingleResourceWithComment));

            var result = rr.ResxToResourceStringDictionary(resxFileContent);

            Assert.That(result.Count, Is.EqualTo(1));
            Assert.That(result.First().Comment, Is.EqualTo("Some comment has to be here"));
        }