public void DoNotStripsOffResourceSetWhenLocationIsempty()
        {
            var factory   = new DbResStringLocalizerFactory(new DbResourceConfiguration(), null);
            var localizer = (DbResStringLocalizer)factory.Create("Company.Product.Test.Localizer", "");

            Assert.AreEqual("Company.Product.Test.Localizer", localizer.ResourceSet);
        }
        public void StripsOffLocationInResourceName()
        {
            var factory   = new DbResStringLocalizerFactory(new DbResourceConfiguration(), null);
            var localizer = (DbResStringLocalizer)factory.Create("Company.Product.Test.Localizer", "Company.Product");

            Assert.AreEqual("Test.Localizer", localizer.ResourceSet);
        }