Skip to content

Instantly share code, notes, and snippets.

@LeifWarner
Created October 31, 2012 19:17
Show Gist options
  • Save LeifWarner/3989211 to your computer and use it in GitHub Desktop.
Save LeifWarner/3989211 to your computer and use it in GitHub Desktop.
testOptions in Test += Tests.Setup {
_.loadClass("janrain.Foo").newInstance().asInstanceOf[Function0[_]]()
}
package janrain
class Foo extends Function0[Unit] {
def apply() {
println("Called FOO")
println(RedisSetup)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment