import static java.util.Arrays.asList;
import static org.junit.Assert.*;
public class ProfileTest {
@Test
public void copy() throws IOException {
<BUG>Profile one = ProfileUtil.readAllFromClasspath("order-test-1", "")[0];
</BUG>
Profile copy = new Profile(one);
assertEquals("order-test-1", copy.getName());
assertTrue(copy.getGeneratorConfig().use("i1"));

import static java.util.Arrays.asList;
import static org.junit.Assert.*;
public class ProfileTest {
@Test
public void copy() throws IOException {
Profile one = ProfileUtil.readAllFromClasspath("order-test-1", "").get(0);
Profile copy = new Profile(one);
assertEquals("order-test-1", copy.getName());
assertTrue(copy.getGeneratorConfig().use("i1"));
