@@ -0,0 +1,480 @@
+package de.ddb.pdc.metadata;%0D%0A%0D%0Aimport static org.junit.Assert.assertEquals;%0D%0Aimport org.junit.Test;%0D%0A%0D%0Apublic class MetadataUtilsTest %7B%0D%0A%0D%0A  @Test%0D%0A  public void useRegexTest() %7B%0D%0A    assertEquals(%22world%22, MetadataUtils.useRegex(%22Hello world%22, %22world%22));%0D%0A    assertEquals(%221%22, MetadataUtils.useRegex(%22Hello 12369%22, %22%5C%5Cd%22));%0D%0A    assertEquals(%22o%22, MetadataUtils.useRegex(%22Hello world%22, %22%5B%5EHel%5D%22));%0D%0A    assertEquals(%22%22, MetadataUtils.useRegex(%22Hello world%22, %22banana%22));%0D%0A  %7D%0D%0A%7D%0D%0A

Add Test for useRegex-Method