Class TestDataMap

  • @Component
    public class TestDataMap
    extends Object
    Container to hold test data.

    Test data is loaded from YAML files on the classpath which match the specified ant pattern.

    • Constructor Detail

      • TestDataMap

        public TestDataMap()
    • Method Detail

      • initializeTestDataMap

        public void initializeTestDataMap()
                                   throws IOException
        Initialize the map.
        IOException - IOException if a test data resource cannot be processed
      • get

        public <T> T get​(Class<T> type,
                         String name)
      • get

        public <T> T get​(Class<T> type)