getFilteredPhrases();
+
+ /**
+ * Provides a general container for information associated with this test case.
+ *
+ * This could include things like tags, streams for text that cannot be stored in a string, etc.
+ * The purpose of these objects (if any) is determined by the underlying implementation.
+ *
+ * @return a map of arbitrary objects associated with this test case
+ */
+ Map getMetadata();
+
+
+
}
diff --git a/src/main/java/com/pdsl/testcases/TestSection.java b/src/main/java/com/pdsl/testcases/TestSection.java
index 33de140..ad36c36 100644
--- a/src/main/java/com/pdsl/testcases/TestSection.java
+++ b/src/main/java/com/pdsl/testcases/TestSection.java
@@ -8,6 +8,7 @@
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
+import java.util.Map;
import java.util.Optional;
import java.util.stream.Collectors;
@@ -22,9 +23,19 @@ public interface TestSection {
/**
* Provides additional information associated with this test section if found.
* @return optional of type input stream representing the metadata
+ * @deprecated use getSectionMetadata instead
*/
+ @Deprecated
Optional getMetaData();
+ /**
+ * Provides additional information associated with this test section.
+ *
+ * The use of this information, if any, is up to the underlying implementation.
+ * @return map containing arbitrary objects
+ */
+ Optional