// Path: src/main/java/com/cloudera/director/spi/v2/model/exception/PluginExceptionCondition.java
// public static enum Type {
// 
//   /**
//    * Represents an error.
//    */
//   ERROR,
// 
//   /**
//    * Represents a warning.
//    */
//   WARNING
// }


import static com.cloudera.director.spi.v2.model.exception.PluginExceptionCondition.Type;
import static com.cloudera.director.spi.v2.model.exception.PluginExceptionCondition.Type.ERROR;
import static com.cloudera.director.spi.v2.model.exception.PluginExceptionCondition.Type.WARNING;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.entry;
import java.util.Map;
import org.junit.Test;
package com.cloudera.director.spi.v2.model.exception;




/**
 * Tests {@link PluginExceptionCondition}.
 */
public class PluginExceptionConditionTest {

  protected static final String MSG0 = "msg0";

  protected static final String MSG1 = "msg1";

  protected static final String[] MESSAGES = {MSG0, MSG1};

  private PluginExceptionCondition condition;

  @Test
  public void testConstructor() {
// Path: src/main/java/com/cloudera/director/spi/v2/model/exception/PluginExceptionCondition.java
// public static enum Type {
// 
//   /**
//    * Represents an error.
//    */
//   ERROR,
// 
//   /**
//    * Represents a warning.
//    */
//   WARNING
// }


// Path: src/test/java/com/cloudera/director/spi/v2/model/exception/PluginExceptionConditionTest.java
import static com.cloudera.director.spi.v2.model.exception.PluginExceptionCondition.Type;
import static com.cloudera.director.spi.v2.model.exception.PluginExceptionCondition.Type.ERROR;
import static com.cloudera.director.spi.v2.model.exception.PluginExceptionCondition.Type.WARNING;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.entry;
import java.util.Map;
import org.junit.Test;

package com.cloudera.director.spi.v2.model.exception;




/**
 * Tests {@link PluginExceptionCondition}.
 */
public class PluginExceptionConditionTest {

  protected static final String MSG0 = "msg0";

  protected static final String MSG1 = "msg1";

  protected static final String[] MESSAGES = {MSG0, MSG1};

  private PluginExceptionCondition condition;

  @Test
  public void testConstructor() {
    for (Type expectedType : Type.values()) {