final Facet facet = facetedMethod.getFacet(MultiLineFacet.class);
assertNotNull(facet);
assertTrue(facet instanceof MultiLineFacetAnnotationOnProperty);
final MultiLineFacetAnnotationOnProperty multiLineFacetAnnotation = (MultiLineFacetAnnotationOnProperty) facet;
assertEquals(12, multiLineFacetAnnotation.numberOfLines());
assertEquals(true, multiLineFacetAnnotation.preventWrapping());
}
public void testMultiLineAnnotationPickedUpOnActionParameter() {
final MultiLineAnnotationOnParameterFacetFactory facetFactory = new MultiLineAnnotationOnParameterFacetFactory();