/**
* Tests the feature to remove one and the same natural language text for multiple languages
*/
public void testRemoveNaturalLanguageValueInMultipleLanguages() {
String field = "urn:the.field:used.for.this.Test";
Representation rep = createRepresentation(null);
// add the same label for multiple languages
rep.addNaturalText(field, NL_TEST_noLang, "en", "de", null);
rep.removeNaturalText(field, NL_TEST_noLang, "en", null);
Iterator<Text> texts = rep.get(field, (String[]) null);
assertTrue(texts.hasNext());
Text text = texts.next();
assertFalse(texts.hasNext());
assertEquals("de", text.getLanguage());
assertEquals(NL_TEST_noLang, text.getText());