@Test
public void testIsGeneratedBy() throws Exception
{

    assertFalse(securityHelper.isUserGeneratedByClass(null, null));
    PreAuthenticatedAuthenticationToken authRequest = new PreAuthenticatedAuthenticationToken(null, null);
    assertFalse(securityHelper.isUserGeneratedByClass(authRequest, null));
}