component displayName="TestBox xUnit suite" skip="testEnv"{
application.wirebox = new coldbox.system.ioc.Injector();
structDelete( application, "wirebox" );
function testThrows() skip="true"{
$assert.throws(function(){
var hello = application.wirebox.getInstance( "myINvalidService" ).run();
function testNotThrows(){
$assert.notThrows(function(){
var hello = application.wirebox.getInstance( "MyValidService" ).run();;
private boolean function testEnv(){
return ( structKeyExists( request, "env") && request.env == "stg" ? true : false );