local p=require("\078\101\120\117\115\085\110\105\116\084\101\115\116\105\110\103")local u=require((game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")):WaitForChild("\078\101\120\117\115\080\108\117\103\105\110\070\114\097\109\101\119\111\114\107"))local L=u:GetResource("\066\097\115\101\046\078\101\120\117\115\068\105\115\097\098\108\097\098\108\101\067\111\110\116\097\105\110\101\114")p:RegisterUnitTest("\067\111\110\115\116\114\117\099\116\111\114",function(p)local u=L.new()p:AssertEquals(u.Disabled,false,"\068\105\115\097\098\108\101\100 \105\115 \105\110\099\111\114\114\101\099\116\046")p:AssertEquals(u:IsEnabled(),true,"\068\105\115\097\098\108\101\100 \105\115 \105\110\099\111\114\114\101\099\116\046")p:AssertEquals(u.ClassName,"\078\101\120\117\115\068\105\115\097\098\108\097\098\108\101\067\111\110\116\097\105\110\101\114","\067\108\097\115\115 \110\097\109\101 \105\115 \105\110\099\111\114\114\101\099\116\046")p:AssertEquals(u.Name,"\078\101\120\117\115\068\105\115\097\098\108\097\098\108\101\067\111\110\116\097\105\110\101\114","\078\097\109\101 \105\115 \105\110\099\111\114\114\101\099\116\046")p:AssertEquals(tostring(u),"\078\101\120\117\115\068\105\115\097\098\108\097\098\108\101\067\111\110\116\097\105\110\101\114","\078\097\109\101 \105\115 \105\110\099\111\114\114\101\099\116\046")end)return true
--[[
TheNexusAvenger

Tests the NexusDisablableContainer class.
--]]

local NexusUnitTesting = require("NexusUnitTesting")

local NexusPluginFramework = require(game:GetService("ReplicatedStorage"):WaitForChild("NexusPluginFramework"))
local NexusDisablableContainer = NexusPluginFramework:GetResource("Base.NexusDisablableContainer")



--[[
Test that the constructor works without failing.
--]]
NexusUnitTesting:RegisterUnitTest("Constructor",function(UnitTest)
	local CuT = NexusDisablableContainer.new()
	UnitTest:AssertEquals(CuT.Disabled,false,"Disabled is incorrect.")
	UnitTest:AssertEquals(CuT:IsEnabled(),true,"Disabled is incorrect.")
	UnitTest:AssertEquals(CuT.ClassName,"NexusDisablableContainer","Class name is incorrect.")
	UnitTest:AssertEquals(CuT.Name,"NexusDisablableContainer","Name is incorrect.")
	UnitTest:AssertEquals(tostring(CuT),"NexusDisablableContainer","Name is incorrect.")
end)



return true