Skip to content

Instantly share code, notes, and snippets.

@dhinojosa
Created June 30, 2011 00:20
Show Gist options
  • Save dhinojosa/1055345 to your computer and use it in GitHub Desktop.
Save dhinojosa/1055345 to your computer and use it in GitHub Desktop.
The idea behind Fiscus
object ColorTest extends Fiscus {
override val contents = new Red :: Nil
override def run() {
val favoriteColor = get(classOf[FavoriteColor])
favoriteColor.getClass.getSimpleName should be("FavoriteColor")
favoriteColor.color.getClass.getSimpleName should be("Red")
}
}
ColorTest.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment