// Path: src/main/java/br/com/six2six/fixturefactory/loader/FixtureFactoryLoader.java
// public class FixtureFactoryLoader {
// 
// 	public static void loadTemplates(String basePackage) {
//         for (Class<?> clazz : getClassesForPackage(basePackage)) {
//             if (!clazz.isInterface() && TemplateLoader.class.isAssignableFrom(clazz)) {
//                 try {
//                 	((TemplateLoader) clazz.newInstance()).load();
//                 } catch (Exception e) {
//                     throw new RuntimeException(String.format("template %s not loaded", clazz.getName()), e);
//                 }
//             }
//         } 
// 	}
// }
// 
// Path: src/test/java/br/com/six2six/fixturefactory/model/SetHolder.java
// public class SetHolder implements Serializable {
// 
//     private static final long serialVersionUID = 7764593702512737207L;
// 
//     private LinkedHashSet<Attribute> attributes;
// 
//     public LinkedHashSet<Attribute> getAttributes() {
//         return this.attributes;
//     }
// 
//     public void setAttributes(LinkedHashSet<Attribute> attributes) {
//         this.attributes = attributes;
//     }
// }


import static org.junit.Assert.assertEquals;
import org.junit.BeforeClass;
import org.junit.Test;
import br.com.six2six.fixturefactory.loader.FixtureFactoryLoader;
import br.com.six2six.fixturefactory.model.SetHolder;
package br.com.six2six.fixturefactory;




public class FixtureSetHolderTest {

    @BeforeClass
    public static void setUp() {
        FixtureFactoryLoader.loadTemplates("br.com.six2six.template");
    }

    @Test
    public void fixtureSortedSet() {
// Path: src/main/java/br/com/six2six/fixturefactory/loader/FixtureFactoryLoader.java
// public class FixtureFactoryLoader {
// 
// 	public static void loadTemplates(String basePackage) {
//         for (Class<?> clazz : getClassesForPackage(basePackage)) {
//             if (!clazz.isInterface() && TemplateLoader.class.isAssignableFrom(clazz)) {
//                 try {
//                 	((TemplateLoader) clazz.newInstance()).load();
//                 } catch (Exception e) {
//                     throw new RuntimeException(String.format("template %s not loaded", clazz.getName()), e);
//                 }
//             }
//         } 
// 	}
// }
// 
// Path: src/test/java/br/com/six2six/fixturefactory/model/SetHolder.java
// public class SetHolder implements Serializable {
// 
//     private static final long serialVersionUID = 7764593702512737207L;
// 
//     private LinkedHashSet<Attribute> attributes;
// 
//     public LinkedHashSet<Attribute> getAttributes() {
//         return this.attributes;
//     }
// 
//     public void setAttributes(LinkedHashSet<Attribute> attributes) {
//         this.attributes = attributes;
//     }
// }


// Path: src/test/java/br/com/six2six/fixturefactory/FixtureSetHolderTest.java
import static org.junit.Assert.assertEquals;
import org.junit.BeforeClass;
import org.junit.Test;
import br.com.six2six.fixturefactory.loader.FixtureFactoryLoader;
import br.com.six2six.fixturefactory.model.SetHolder;

package br.com.six2six.fixturefactory;




public class FixtureSetHolderTest {

    @BeforeClass
    public static void setUp() {
        FixtureFactoryLoader.loadTemplates("br.com.six2six.template");
    }

    @Test
    public void fixtureSortedSet() {
        SetHolder holder = Fixture.from(SetHolder.class).gimme("has-n");