package poml.conv.build;

import org.junit.Test;

import poml.conv.ConvTestCase;
import poml.conv.build.Plugins.Plugin;

public class PluginsTest extends ConvTestCase {

//  Plugins conv = new Plugins();

  // -> Test for Plugins.Plugin
  @Test public void grp_art() {
    Plugin conv = new Plugin("$sbp");
    poml.conf.append("$sbp=org.springframework.boot:spring-boot-maven-plugin");
    poml.conf.load();
    conv.convert(poml, xml);
    output.is(
      "      <plugin>" + nl +
      "        <groupId>org.springframework.boot</groupId>" + nl +
      "        <artifactId>spring-boot-maven-plugin</artifactId>" + nl +
      "      </plugin>" + nl
    );
  }
}

@@ -77,47 +77,8 @@
 ase;
-%0Aimport poml.conv.build.Plugins.Plugin;
 %0A%0Apu

Fix test.