Skip to content

Instantly share code, notes, and snippets.

@virtix
Created May 31, 2009 04:10
Show Gist options
  • Save virtix/120754 to your computer and use it in GitHub Desktop.
Save virtix/120754 to your computer and use it in GitHub Desktop.
function getAFuckingLifeYouAsshatMonkeyShitHurler() {
var null = '';
var methodProxy = javacast('null',chr(0));
var args = {1='scum sucking asshat-wearing Neanderfuck'};
var ctx = getPageContext().getFusionContext();
ctx.parent._set('methodProxy', ctx.parent.createObject('java','coldfusion.runtime.java.JavaProxy').init( ctx.parent._autoscalarize( ctx.parent._get('plainOldComponent').echo )) );
actual = methodProxy.invoke(null, null, ctx.parent, args);
debug(actual);
assertEquals( 'scum sucking asshat-wearing Neanderfuck' , actual );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment