public void testRemoveAllNaturalLanguageValuesByParsingAnEmptyArray() {
String field = "urn:the.field:used.for.this.Test";
Representation rep = initNaturalLanguageTest(field);
// add a reference to ensure that only texts (and strings) are removed
String testReference = "http://www.test.org/test";
rep.addReference(field, testReference);
// test removal of all natural language values by parsing an empty language array
rep.removeAllNaturalText(field, new String[] {});
Iterator<Text> texts = rep.get(field, (String[]) null);
assertFalse(texts.hasNext());
assertTrue(rep.get(field).hasNext()); // text of the added reference is still present