return function()local L=require(game.ReplicatedStorage.Packages.Mock)local w=require(script.Parent)it("\115\104\111\117\108\100 \103\101\116 \097\108\108 \116\104\101 \099\104\097\114\097\099\116\101\114\115 \105\110 \116\104\101 \101\120\112\101\114\105\101\110\099\101",function()local I=L.new()local j=L.new()j.Character=Instance.new("\077\111\100\101\108")I.GetPlayers:mockImplementation(function()return{j}end)w.Players=I local V=w:getCharacters();(expect(#V)).to.equal(1);(expect(V[1])).to.equal(j.Character)end)end
return function()
	local Mock = require(game.ReplicatedStorage.Packages.Mock)
	local example = require(script.Parent)

	it("should get all the characters in the experience", function()
		local mockPlayers = Mock.new()

		-- Create a mock to represent a Player
		local mockPlayer = Mock.new()
		mockPlayer.Character = Instance.new("Model")

		-- Define the implementation of Players:GetPlayers()
		mockPlayers.GetPlayers:mockImplementation(function()
			return {
				mockPlayer,
			}
		end)

		-- Stub out the actual Players service with a mock
		example.Players = mockPlayers

		-- Our mocks are setup, so now we can test the getCharacters() function
		local characters = example:getCharacters()

		expect(#characters).to.equal(1)
		expect(characters[1]).to.equal(mockPlayer.Character)
	end)
end
