public GuiceTestRunner(Class<?> klass) throws InitializationError {
		super(klass);

		// Check the @WithModules annotation
		WithModules wm = this.getTestClass().getJavaClass()
				.getAnnotation(WithModules.class);

		if (wm == null) {
			throw new InitializationError(
					"The class should have the @WithModules annotation");
		} else {
			if (wm.value().length == 0) {
				throw new InitializationError(
						"The @WithModules annotation should not be empty.");
			}
		}
	}