local m=import("\046\046\047\073\110\115\116\097\110\099\101")describe("\105\110\115\116\097\110\099\101\115\046\066\105\110\100\097\098\108\101\069\118\101\110\116",function()it("\115\104\111\117\108\100 \105\110\115\116\097\110\116\105\097\116\101",function()local k=m.new("\066\105\110\100\097\098\108\101\069\118\101\110\116")assert.not_nil(k)assert.not_nil(k.Event)end)it("\115\104\111\117\108\100 \102\105\114\101 \069\118\101\110\116 \119\104\101\110 \102\105\114\101\100",function()local k=m.new("\066\105\110\100\097\098\108\101\069\118\101\110\116")local u=spy.new(function() end)k.Event:Connect(u)k:Fire();(assert.spy(u)).was_called(1)end)end)
local Instance = import("../Instance")

describe("instances.BindableEvent", function()
	it("should instantiate", function()
		local instance = Instance.new("BindableEvent")

		assert.not_nil(instance)
		assert.not_nil(instance.Event)
	end)

	it("should fire Event when fired", function()
		local instance = Instance.new("BindableEvent")

		local testSpy = spy.new(function() end)
		instance.Event:Connect(testSpy)

		instance:Fire()

		assert.spy(testSpy).was_called(1)
	end)
end)