// Path: kbox.kns/src/main/java/org/aksw/kbox/kns/KNSServer.java
// public abstract class KNSServer {
// 	
// 	private URL serverURL = null;
// 	
// 	public KNSServer(URL url) throws Exception {
// 		this.serverURL = url;
// 	}
// 	
// 	/**
// 	 * Iterate over all Knowledge Names ({@link KN}s).
// 	 * 
// 	 * @param visitor a {@link KNSVisitor}.
// 	 * 
// 	 * @return true if the {@link KNSVisitor#visit(KN)} method return true and false otherwise.
// 	 * 
// 	 * @throws IOException if any error occurs during the operation.
// 	 */
// 	public abstract boolean visit(KNSVisitor visitor) throws Exception;
// 	
// 	public URL getURL() {
// 		return serverURL;
// 	}
// }
// 
// Path: kbox.kns/src/main/java/org/aksw/kbox/kns/KNSServerListVisitor.java
// public interface KNSServerListVisitor extends Visitor<KNSServer> {	
// }


import java.util.List;
import java.util.ArrayList;
import org.aksw.kbox.kns.KNSServer;
import org.aksw.kbox.kns.KNSServerListVisitor;
package org.aksw.kbox.kibe;



public class MockKNSServerListVisitor implements KNSServerListVisitor {

	private List<KNSServer> knsServers = new ArrayList<>();
	
	@Override
	public boolean visit(KNSServer object) throws Exception {
		knsServers.add(object);
		return true;
	}
	
	public int getVisits() {
		return knsServers.size();
	}
	
// Path: kbox.kns/src/main/java/org/aksw/kbox/kns/KNSServer.java
// public abstract class KNSServer {
// 	
// 	private URL serverURL = null;
// 	
// 	public KNSServer(URL url) throws Exception {
// 		this.serverURL = url;
// 	}
// 	
// 	/**
// 	 * Iterate over all Knowledge Names ({@link KN}s).
// 	 * 
// 	 * @param visitor a {@link KNSVisitor}.
// 	 * 
// 	 * @return true if the {@link KNSVisitor#visit(KN)} method return true and false otherwise.
// 	 * 
// 	 * @throws IOException if any error occurs during the operation.
// 	 */
// 	public abstract boolean visit(KNSVisitor visitor) throws Exception;
// 	
// 	public URL getURL() {
// 		return serverURL;
// 	}
// }
// 
// Path: kbox.kns/src/main/java/org/aksw/kbox/kns/KNSServerListVisitor.java
// public interface KNSServerListVisitor extends Visitor<KNSServer> {	
// }


// Path: kbox.kibe.test/src/test/java/org/aksw/kbox/kibe/MockKNSServerListVisitor.java
import java.util.List;
import java.util.ArrayList;
import org.aksw.kbox.kns.KNSServer;
import org.aksw.kbox.kns.KNSServerListVisitor;

package org.aksw.kbox.kibe;



public class MockKNSServerListVisitor implements KNSServerListVisitor {

	private List<KNSServer> knsServers = new ArrayList<>();
	
	@Override
	public boolean visit(KNSServer object) throws Exception {
		knsServers.add(object);
		return true;
	}
	
	public int getVisits() {
		return knsServers.size();
	}
	
	public List<KNSServer> getServers() {