/** * Run the void setAnnotationClass(Class<? extends Annotation>) method test. * * @throws Exception * @generatedBy CodePro at 4/19/14 3:10 PM */ @Test public void testSetAnnotationClass_1() throws Exception { AuthenticatedAnnotationHandler fixture = new AuthenticatedAnnotationHandler(); fixture.annotationClass = Annotation.class; Class<? extends Annotation> annotationClass = Annotation.class; fixture.setAnnotationClass(annotationClass); // add additional test code here }
/** * Run the void setAnnotationClass(Class<? extends Annotation>) method test. * * @throws Exception * @generatedBy CodePro at 4/19/14 3:10 PM */ @Test(expected = java.lang.IllegalArgumentException.class) public void testSetAnnotationClass_2() throws Exception { AuthenticatedAnnotationHandler fixture = new AuthenticatedAnnotationHandler(); fixture.annotationClass = Annotation.class; Class<? extends Annotation> annotationClass = Annotation.class; fixture.setAnnotationClass(annotationClass); // add additional test code here }
/** * Run the Subject getSubject() method test. * * @throws Exception * @generatedBy CodePro at 4/19/14 3:10 PM */ @Test public void testGetSubject_1() throws Exception { AuthenticatedAnnotationHandler fixture = new AuthenticatedAnnotationHandler(); fixture.annotationClass = Annotation.class; Subject result = fixture.getSubject(); // add additional test code here assertNotNull(result); }