return function()local r=require(script.Parent.Parent.Type)local D=require(script.Parent.Change)it("\115\104\111\117\108\100 \121\105\101\108\100 \099\104\097\110\103\101 \108\105\115\116\101\110\101\114 \111\098\106\101\099\116\115 \119\104\101\110 \105\110\100\101\120\101\100",function()(expect(r.of(D.Text))).to.equal(r.HostChangeEvent);(expect(r.of(D.Selected))).to.equal(r.HostChangeEvent)end)it("\115\104\111\117\108\100 \121\105\101\108\100 \116\104\101 \115\097\109\101 \111\098\106\101\099\116 \119\104\101\110 \105\110\100\101\120\101\100 \097\103\097\105\110",function()local r=D.Text local Z=D.Text local C=D.Selected;(expect(r)).to.equal(Z);(expect(r)).never.to.equal(C)end)end
return function()
	local Type = require(script.Parent.Parent.Type)

	local Change = require(script.Parent.Change)

	it("should yield change listener objects when indexed", function()
		expect(Type.of(Change.Text)).to.equal(Type.HostChangeEvent)
		expect(Type.of(Change.Selected)).to.equal(Type.HostChangeEvent)
	end)

	it("should yield the same object when indexed again", function()
		local a = Change.Text
		local b = Change.Text
		local c = Change.Selected

		expect(a).to.equal(b)
		expect(a).never.to.equal(c)
	end)
end