- $foo.queue("fx", [ "sample", "array" ]);\r
- var arr = $foo.queue();\r
- isSet(arr, [ "sample", "array" ], "queue() got an array set with type 'fx'");\r
- $foo.queue([ "another", "one" ]);\r
- var arr = $foo.queue("fx");\r
- isSet(arr, [ "another", "one" ], "queue('fx') got an array set with no type");\r
- // clean up after test\r
- $foo.queue([]);\r