It sure does exist.  Use import static org.junit.Assert.*;


From: Nadya Ershova [mailto:notifications@github.com]
Sent: April 8, 2014 11:39 AM
To: radialpoint/type-mapper-for-uima
Cc: Guy Dumais
Subject: Re: [type-mapper-for-uima] Moving to UIMAFit. Tests (#6)


In src/test/java/com/radialpoint/uima/typemapper/TypeMapperTest.java:

> +    VerifyMappedAnnotation(sentenceType, 1, featureValues);

> +

> +    featureValues.clear();

> +    featureValues.put("begin", paragraphAnnotation01.getBegin());

> +    featureValues.put("end", paragraphAnnotation01.getEnd());

> +    featureValues.put("begin", paragraphAnnotation02.getBegin());

> +    featureValues.put("end", paragraphAnnotation02.getEnd());

> +

> +    VerifyMappedAnnotation(paragraphType, 2, featureValues);

> +

> +  }

> +

> +  private void VerifyMappedAnnotation(Type type, int number, MultiValueMap featureValues) {

> +    AnnotationIndex<AnnotationFS> annotationIdx = cas.getAnnotationIndex(type);

> +

> +    assert (annotationIdx != null);

assertTrue() does not exist, and at the moment I do not see any other JUnit function that would help here

—
Reply to this email directly or view it on GitHub<https://github.com/radialpoint/type-mapper-for-uima/pull/6/files#r11395619>.

*********************************************************************** This e-mail and attachments are confidential, legally privileged, may be subject to copyright and sent solely for the attention of the addressee(s). Any unauthorized use or disclosure is prohibited. Statements and opinions expressed in this e-mail may not represent those of Radialpoint. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Le contenu du présent courriel est confidentiel, privilégié et peut être soumis à des droits d'auteur. Il est envoyé à l'intention exclusive de son ou de ses destinataires. Il est interdit de l'utiliser ou de le divulguer sans autorisation. Les opinions exprimées dans le présent courriel peuvent diverger de celles de Radialpoint.