/**
 * Copyright (C) 2013, 2014 SLUB Dresden & Avantgarde Labs GmbH (<code@dswarm.org>)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.dswarm.persistence.service.schema.test.internalmodel;

import com.fasterxml.jackson.databind.ObjectMapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import org.dswarm.persistence.GuicedTest;
import org.dswarm.persistence.model.schema.Schema;
import org.dswarm.persistence.service.schema.test.utils.ClaszServiceTestUtils;
import org.dswarm.persistence.service.schema.test.utils.SchemaServiceTestUtils;

public abstract class SchemaBuilder extends GuicedTest {

	private final ObjectMapper	objectMapper	= GuicedTest.injector.getInstance(ObjectMapper.class);
	private static final Logger	LOG				= LoggerFactory.getLogger(SchemaBuilder.class);
	protected String			prefixPaths		= "";
	
	protected final ClaszServiceTestUtils	claszServiceTestUtils;
	protected final SchemaServiceTestUtils schemaServiceTestUtils;

	public SchemaBuilder() {
		super();
		
		claszServiceTestUtils = new ClaszServiceTestUtils();
		schemaServiceTestUtils = new SchemaServiceTestUtils();
	}

	public abstract Schema buildSchema() throws Exception;

	public String getPrefixPaths() {
		return prefixPaths;
	}

}

@@ -718,118 +718,8 @@
 l;%0A%0A
-import com.fasterxml.jackson.databind.ObjectMapper;%0Aimport org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0A%0A
 impo
@@ -1030,104 +1030,10 @@
 %7B%0A%0A%09
-private final ObjectMapper%09objectMapper%09= GuicedTest.injector.getInstance(ObjectMapper.class);%0A%09
+//
 priv

clean up