package br.com.six2six.fixturefactory;

import java.util.LinkedHashMap;
import java.util.Map;

import br.com.six2six.fixturefactory.processor.Processor;

public class Fixture {

	private static Map<Class<?>, TemplateHolder> templates = new LinkedHashMap<Class<?>, TemplateHolder>();
	
	public static TemplateHolder of(Class<?> clazz) {
		TemplateHolder template = templates.get(clazz);
		
		if (template == null) {
			template = new TemplateHolder(clazz);
			templates.put(clazz, template);
		}

		return template;
	}
	
	public static ObjectFactory from(Class<?> clazz) {
		return new ObjectFactory(of(clazz));
	}
}

@@ -97,69 +97,8 @@
 %0D%0A%0D%0A
-import br.com.six2six.fixturefactory.processor.Processor;%0D%0A%0D%0A
 publ

remove invalid import