public void testValidUseCase_01() throws Exception {
   AnnotationParsedLine parsedLine = parser.parse("Secure");
   assertEquals("Secure", parsedLine.getName());
   assertEquals("", parsedLine.getDescription());
   Map<OffsetRange, String> types = parsedLine.getTypes();
   for (Map.Entry<OffsetRange, String> entry : types.entrySet()) {
     OffsetRange offsetRange = entry.getKey();
     String value = entry.getValue();
     assertEquals(0, offsetRange.getStart());
     assertEquals(6, offsetRange.getEnd());
     assertEquals("Secure", value);
   }
 }
 public void testValidUseCase_05() throws Exception {
   AnnotationParsedLine parsedLine =
       parser.parse("Annotations\\Secure(roles=\"ROLE_USER, ROLE_FOO, ROLE_ADMIN\")  \t");
   assertEquals("Secure", parsedLine.getName());
   assertEquals("(roles=\"ROLE_USER, ROLE_FOO, ROLE_ADMIN\")", parsedLine.getDescription());
   Map<OffsetRange, String> types = parsedLine.getTypes();
   assertNotNull(types);
   for (Map.Entry<OffsetRange, String> entry : types.entrySet()) {
     OffsetRange offsetRange = entry.getKey();
     String value = entry.getValue();
     assertEquals(0, offsetRange.getStart());
     assertEquals(18, offsetRange.getEnd());
     assertEquals("Annotations\\Secure", value);
   }
 }
 public void testReturnValueIsNull() throws Exception {
   assertNull(parser.parse("Secures"));
 }
 public void testReturnValueIsSecureParsedLine_04() throws Exception {
   assertTrue(
       parser.parse("Annotations\\Secure(roles=\"ROLE_USER, ROLE_FOO, ROLE_ADMIN\")")
           instanceof ParsedLine);
 }
 public void testReturnValueIsSecureParsedLine_03() throws Exception {
   assertTrue(
       parser.parse("\\Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Secure")
           instanceof ParsedLine);
 }
 public void testReturnValueIsSecureParsedLine_02() throws Exception {
   assertTrue(parser.parse("Annotations\\Secure") instanceof ParsedLine);
 }