local e=import("\046\047\076\111\099\097\108\105\122\097\116\105\111\110\083\101\114\118\105\099\101")describe("\105\110\115\116\097\110\099\101\115\046\076\111\099\097\108\105\122\097\116\105\111\110\083\101\114\118\105\099\101",function()it("\115\104\111\117\108\100 \105\110\115\116\097\110\116\105\097\116\101",function()local f=e:new()assert.not_nil(f)end)describe("\083\121\115\116\101\109\076\111\099\097\108\101\073\100",function()it("\115\104\111\117\108\100 \104\097\118\101 \097 \115\116\114\105\110\103 \118\097\108\117\101",function()local f=e:new()assert.not_nil(f.SystemLocaleId)assert.equals(type(f.SystemLocaleId),"\115\116\114\105\110\103")end)it("\115\104\111\117\108\100 \098\101 \114\101\097\100-\111\110\108\121",function()local f=e:new()assert.has.errors(function()f.SystemLocaleId="\101\115-\109\120"end)end)end)describe("\082\111\098\108\111\120\076\111\099\097\108\101\073\100",function()it("\115\104\111\117\108\100 \104\097\118\101 \097 \115\116\114\105\110\103 \118\097\108\117\101",function()local f=e:new()assert.not_nil(f.RobloxLocaleId)assert.equals(type(f.RobloxLocaleId),"\115\116\114\105\110\103")end)it("\115\104\111\117\108\100 \098\101 \114\101\097\100-\111\110\108\121",function()local f=e:new()assert.has.errors(function()f.RobloxLocaleId="\101\115-\109\120"end)end)end)end)
local LocalizationService = import("./LocalizationService")

describe("instances.LocalizationService", function()
	it("should instantiate", function()
		local instance = LocalizationService:new()

		assert.not_nil(instance)
	end)

	describe("SystemLocaleId", function()
		it("should have a string value", function()
			local instance = LocalizationService:new()
			assert.not_nil(instance.SystemLocaleId)
			assert.equals(type(instance.SystemLocaleId), "string")
		end)

		it("should be read-only", function()
			local instance = LocalizationService:new()
			assert.has.errors(function()
				instance.SystemLocaleId = "es-mx"
			end)
		end)
	end)

	describe("RobloxLocaleId", function()
		it("should have a string value", function()
			local instance = LocalizationService:new()
			assert.not_nil(instance.RobloxLocaleId)
			assert.equals(type(instance.RobloxLocaleId), "string")
		end)

		it("should be read-only", function()
			local instance = LocalizationService:new()
			assert.has.errors(function()
				instance.RobloxLocaleId = "es-mx"
			end)
		end)
	end)
end)