// Path: environment.monitor.core/src/main/java/org/yagel/monitor/MonitorConfig.java
// public interface MonitorConfig {
// 
// 
//   Set<EnvironmentConfig> getEnvironments();
// 
// }


import org.testng.Assert;
import org.testng.annotations.Test;
import org.yagel.monitor.MonitorConfig;
package org.yagel.monitor.plugins;


public class TestMonitorConfigReader {

  @Test
  void testMonitorConfigDeserialization() {

    String mockConfig = getClass().getClassLoader().getResource("Environment-Mock.xml").toString();

// Path: environment.monitor.core/src/main/java/org/yagel/monitor/MonitorConfig.java
// public interface MonitorConfig {
// 
// 
//   Set<EnvironmentConfig> getEnvironments();
// 
// }


// Path: environment.monitor.plugins/src/test/java/org/yagel/monitor/plugins/TestMonitorConfigReader.java
import org.testng.Assert;
import org.testng.annotations.Test;
import org.yagel.monitor.MonitorConfig;

package org.yagel.monitor.plugins;


public class TestMonitorConfigReader {

  @Test
  void testMonitorConfigDeserialization() {

    String mockConfig = getClass().getClassLoader().getResource("Environment-Mock.xml").toString();

    MonitorConfig config = new MonitorConfigReader().readMonitorConfig(mockConfig);