New test for dashboard portlet "Warnings per project".

Generic Typen im Cast vermeiden: portletClass.cast(p)