Remove getClass() call on Class instance
@@ -249,7 +249,7 @@ public class ViewOptionHandlerTest {
return ex.getMessage();
}
- fail("No exception thrown. Expected " + type.getClass());
+ fail("No exception thrown. Expected " + type);
return null;
}
