@Test(expectedExceptions = RuntimeException.class,
        expectedExceptionsMessageRegExp = "com\\.proofpoint\\.reporting\\.TestReportCollectionFactory\\$NotConstructable\\.add\\(java\\.lang\\.String, boolean\\) return type ConstructorNeedsArgument has no public no-arg constructor")
public void testReturnTypeNotConstructable()
{

    reportCollectionFactory.createReportCollection(NotConstructable.class);
}