// Path: src/main/java/se/liu/imt/mi/snomedct/parser/SNOMEDCTExpressionRefsetParserFactory.java
// public class SNOMEDCTExpressionRefsetParserFactory extends OWLParserFactoryImpl {
// 
// 	public SNOMEDCTExpressionRefsetParserFactory() {
// 		super(new SNOMEDCTDocumentFormatFactory());
// 		// TODO Auto-generated constructor stub
// 	}
// 
// 	/**
// 	 * 
// 	 */
// 	private static final long serialVersionUID = 1203929348584897238L;
// 	/* BASE IRI - can be overridden */
// 	public String subject = null;
// 	/* isPrimitive - defaults to false to preserve existing behavior */
// 	public boolean isPrimitive = false;
// 
// 	/* (non-Javadoc)
// 	 * @see org.semanticweb.owlapi.io.OWLParserFactory#createParser(org.semanticweb.owlapi.model.OWLOntologyManager)
// 	 */
// 	@Override
// 	public OWLParser createParser() {
// 		return new SNOMEDCTExpressionRefsetOWLParser(); //subject, isPrimitive);
// 	}
// 
// }
// 
// Path: src/main/java/se/liu/imt/mi/snomedct/parser/SNOMEDCTParserFactory.java
// public class SNOMEDCTParserFactory extends OWLParserFactoryImpl {
// 
// 	public SNOMEDCTParserFactory() {
// 		super(new SNOMEDCTDocumentFormatFactory());
// 		// TODO Auto-generated constructor stub
// 	}
// 
// 	/**
// 	 * 
// 	 */
// 	private static final long serialVersionUID = 3285098326875692657L;
// 	/* BASE IRI - can be overridden */
// 	public String subject = null;
// 	/* isPrimitive - defaults to false to preserve existing behavior */
// 	public boolean isPrimitive = false;
// 
// 	/* (non-Javadoc)
// 	 * @see org.semanticweb.owlapi.io.OWLParserFactory#createParser(org.semanticweb.owlapi.model.OWLOntologyManager)
// 	 */
// 	@Override
// 	public OWLParser createParser() {
// 		return new SNOMEDCTOWLParser(); //subject, isPrimitive);
// 	}
// 
// }


import static org.junit.Assert.*;
import java.io.File;
import java.io.InputStream;
import java.net.URL;
import org.junit.Before;
import org.junit.Test;
import org.semanticweb.owlapi.apibinding.OWLManager;
import org.semanticweb.owlapi.formats.TurtleDocumentFormat;
import org.semanticweb.owlapi.model.IRI;
import org.semanticweb.owlapi.model.OWLDocumentFormat;
import org.semanticweb.owlapi.model.OWLOntology;
import org.semanticweb.owlapi.model.OWLOntologyCreationException;
import org.semanticweb.owlapi.model.OWLOntologyManager;
import org.semanticweb.owlapi.model.OWLOntologyStorageException;
import se.liu.imt.mi.snomedct.parser.SNOMEDCTExpressionRefsetParserFactory;
import se.liu.imt.mi.snomedct.parser.SNOMEDCTParserFactory;
/**
 * 
 */
package test;





/**
 * @author dlkn02
 *
 */
public class TestExpressionRefsetParser {

	private OWLOntologyManager manager;
	private OWLOntology ontology;

	/**
	 * @throws java.lang.Exception
	 */
	@Before
	public void setUp() throws Exception {
		manager = OWLManager.createOWLOntologyManager();
// Path: src/main/java/se/liu/imt/mi/snomedct/parser/SNOMEDCTExpressionRefsetParserFactory.java
// public class SNOMEDCTExpressionRefsetParserFactory extends OWLParserFactoryImpl {
// 
// 	public SNOMEDCTExpressionRefsetParserFactory() {
// 		super(new SNOMEDCTDocumentFormatFactory());
// 		// TODO Auto-generated constructor stub
// 	}
// 
// 	/**
// 	 * 
// 	 */
// 	private static final long serialVersionUID = 1203929348584897238L;
// 	/* BASE IRI - can be overridden */
// 	public String subject = null;
// 	/* isPrimitive - defaults to false to preserve existing behavior */
// 	public boolean isPrimitive = false;
// 
// 	/* (non-Javadoc)
// 	 * @see org.semanticweb.owlapi.io.OWLParserFactory#createParser(org.semanticweb.owlapi.model.OWLOntologyManager)
// 	 */
// 	@Override
// 	public OWLParser createParser() {
// 		return new SNOMEDCTExpressionRefsetOWLParser(); //subject, isPrimitive);
// 	}
// 
// }
// 
// Path: src/main/java/se/liu/imt/mi/snomedct/parser/SNOMEDCTParserFactory.java
// public class SNOMEDCTParserFactory extends OWLParserFactoryImpl {
// 
// 	public SNOMEDCTParserFactory() {
// 		super(new SNOMEDCTDocumentFormatFactory());
// 		// TODO Auto-generated constructor stub
// 	}
// 
// 	/**
// 	 * 
// 	 */
// 	private static final long serialVersionUID = 3285098326875692657L;
// 	/* BASE IRI - can be overridden */
// 	public String subject = null;
// 	/* isPrimitive - defaults to false to preserve existing behavior */
// 	public boolean isPrimitive = false;
// 
// 	/* (non-Javadoc)
// 	 * @see org.semanticweb.owlapi.io.OWLParserFactory#createParser(org.semanticweb.owlapi.model.OWLOntologyManager)
// 	 */
// 	@Override
// 	public OWLParser createParser() {
// 		return new SNOMEDCTOWLParser(); //subject, isPrimitive);
// 	}
// 
// }


// Path: src/test/java/test/TestExpressionRefsetParser.java
import static org.junit.Assert.*;
import java.io.File;
import java.io.InputStream;
import java.net.URL;
import org.junit.Before;
import org.junit.Test;
import org.semanticweb.owlapi.apibinding.OWLManager;
import org.semanticweb.owlapi.formats.TurtleDocumentFormat;
import org.semanticweb.owlapi.model.IRI;
import org.semanticweb.owlapi.model.OWLDocumentFormat;
import org.semanticweb.owlapi.model.OWLOntology;
import org.semanticweb.owlapi.model.OWLOntologyCreationException;
import org.semanticweb.owlapi.model.OWLOntologyManager;
import org.semanticweb.owlapi.model.OWLOntologyStorageException;
import se.liu.imt.mi.snomedct.parser.SNOMEDCTExpressionRefsetParserFactory;
import se.liu.imt.mi.snomedct.parser.SNOMEDCTParserFactory;

/**
 * 
 */
package test;





/**
 * @author dlkn02
 *
 */
public class TestExpressionRefsetParser {

	private OWLOntologyManager manager;
	private OWLOntology ontology;

	/**
	 * @throws java.lang.Exception
	 */
	@Before
	public void setUp() throws Exception {
		manager = OWLManager.createOWLOntologyManager();
		manager.getOntologyParsers().add(new SNOMEDCTExpressionRefsetParserFactory());