Is is possible to capture the type parameter of a trait using Manifests in Scala 2.7.7?-Collection of common programming errors
I found a solution that works, but it’s pretty awkward since it requires the test class to call a method (clazz) on the trait before any of the trait’s lazy vals are evaluated.
/**
* Utility trait for HttpUnit/ServletUnit tests
*
* @param [T] Type parameter for the class under test
*/
trait ServletUnitTest[T