@Test
public void testReadPropertiesWithAnnotations()
    throws IOException
{

    URI uri = URI.createFileURI("src/test/resources/annotations/annotations.properties");
    getFixture().setURI(uri);
    getFixture().load(null);
    PropertyFile file = (PropertyFile)getFixture().getContents().get(0);
    EList<Property> properties = file.getProperties();
    //there is actually 3, but one needs to be hidden because it is non-translatable
    assertEquals(2, properties.size());
    Property property = properties.get(0);
    assertEquals("key", property.getKey());
    assertEquals("value", property.getValue());
    
    property = properties.get(1);
    assertEquals("key3", property.getKey());
    assertEquals("value", property.getValue());
    
    EList<PropertyAnnotation> annotations = property.getAnnotations();
    PropertyAnnotation annotation = annotations.get(0);
    assertEquals("myannotation", annotation.getName());
    assertEquals("bar", annotation.getValues().get("foo"));
    
}