// Path: src/test/java/net/technolords/micro/test/factory/ConfigurationsFactory.java
// public class ConfigurationsFactory {
// 
//     public static List<Configuration> createConfigurations() {
//         List<Configuration> configurations = new ArrayList<>();
//         // Get
//         Configuration configuration = new Configuration();
//         configuration.setType("get");
//         configuration.setUrl("/mock/get");
//         configurations.add(configuration);
//         // Post 1
//         configuration = new Configuration();
//         configuration.setType("post");
//         configuration.setUrl("/mock/post1");
//         configurations.add(configuration);
//         // Post 2
//         configuration = new Configuration();
//         configuration.setType("post");
//         configuration.setUrl("/mock/post2");
//         configurations.add(configuration);
//         return configurations;
//     }
// }


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
import org.testng.annotations.Test;
import net.technolords.micro.test.factory.ConfigurationsFactory;
package net.technolords.micro.registry.util;



public class MetadataHelperTest {
    private final Logger LOGGER = LoggerFactory.getLogger(getClass());

    @Test (description = "Test creation of the meta data string")
    public void testAddMetadataEntries() {
        StringBuilder buffer = new StringBuilder();
// Path: src/test/java/net/technolords/micro/test/factory/ConfigurationsFactory.java
// public class ConfigurationsFactory {
// 
//     public static List<Configuration> createConfigurations() {
//         List<Configuration> configurations = new ArrayList<>();
//         // Get
//         Configuration configuration = new Configuration();
//         configuration.setType("get");
//         configuration.setUrl("/mock/get");
//         configurations.add(configuration);
//         // Post 1
//         configuration = new Configuration();
//         configuration.setType("post");
//         configuration.setUrl("/mock/post1");
//         configurations.add(configuration);
//         // Post 2
//         configuration = new Configuration();
//         configuration.setType("post");
//         configuration.setUrl("/mock/post2");
//         configurations.add(configuration);
//         return configurations;
//     }
// }


// Path: src/test/java/net/technolords/micro/registry/util/MetadataHelperTest.java
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
import org.testng.annotations.Test;
import net.technolords.micro.test.factory.ConfigurationsFactory;

package net.technolords.micro.registry.util;



public class MetadataHelperTest {
    private final Logger LOGGER = LoggerFactory.getLogger(getClass());

    @Test (description = "Test creation of the meta data string")
    public void testAddMetadataEntries() {
        StringBuilder buffer = new StringBuilder();
        MetadataHelper.addMetadataEntries(buffer, ConfigurationsFactory.createConfigurations());