return function()local z=require(script.Parent.Parent.generic.new)local Y=require(script.Parent.clearAccessories)local Z=z({ClassName="\077\111\100\101\108"},{Accessory1=Instance.new("\065\099\099\101\115\115\111\114\121");Accessory2=Instance.new("\065\099\099\101\115\115\111\114\121");Accessory3=Instance.new("\065\099\099\101\115\115\111\114\121");Part=z({ClassName="\080\097\114\116"})})it("\115\104\111\117\108\100 \099\108\101\097\114 \111\117\116 \097\108\108 \116\104\101 \097\099\099\101\115\115\111\114\105\101\115",function()local z=Z:Clone();(expect(#z:GetChildren())).to.equal(4)Y(z);(expect(#z:GetChildren())).to.equal(1)end)end
return function()
	local new = require(script.Parent.Parent.generic.new)
	local clearAccessories = require(script.Parent.clearAccessories)

	local MOCK_CHARACTER = new({
		ClassName = "Model"
	}, {
		Accessory1 = Instance.new("Accessory"),
		Accessory2 = Instance.new("Accessory"),
		Accessory3 = Instance.new("Accessory"),
		Part = new({ ClassName = "Part" }),
	})

	it("should clear out all the accessories", function()
		local character = MOCK_CHARACTER:Clone()

		expect(#character:GetChildren()).to.equal(4)

		clearAccessories(character)

		expect(#character:GetChildren()).to.equal(1)
	end)
end
