// Path: src/main/java/org/cytoscape/rest/internal/resource/GlobalTableResource.java
// @Singleton
// @Path("/v1/tables")
// public class GlobalTableResource extends AbstractResource {
// 
// 	@Context
// 	@NotNull
// 	private CyTableFactory tableFactory;
// 
// 	private final ObjectMapper tableObjectMapper;
// 
// 	public GlobalTableResource() {
// 		super();
// 		this.tableObjectMapper = new ObjectMapper();
// 		this.tableObjectMapper.registerModule(new TableModule());
// 	}
// 
// 	/**
// 	 * 
// 	 * @summary Get number of global tables
// 	 * 
// 	 * @return Number of global tables.
// 	 */
// 	@GET
// 	@Path("/count")
// 	@Produces(MediaType.APPLICATION_JSON)
// 	public String getTableCount() {
// 		final Set<CyTable> globals = tableManager.getGlobalTables();
// 		return getNumberObjectString(JsonTags.COUNT, globals.size());
// 	}
// }


import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import javax.ws.rs.core.Application;
import org.cytoscape.rest.internal.resource.GlobalTableResource;
import org.glassfish.jersey.server.ResourceConfig;
import org.junit.Test;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
package org.cytoscape.rest.service;





public class GlobalResourceTest extends BasicResourceTest {

	
	private ObjectMapper mapper = new ObjectMapper();

	
	@Override
	protected Application configure() {
// Path: src/main/java/org/cytoscape/rest/internal/resource/GlobalTableResource.java
// @Singleton
// @Path("/v1/tables")
// public class GlobalTableResource extends AbstractResource {
// 
// 	@Context
// 	@NotNull
// 	private CyTableFactory tableFactory;
// 
// 	private final ObjectMapper tableObjectMapper;
// 
// 	public GlobalTableResource() {
// 		super();
// 		this.tableObjectMapper = new ObjectMapper();
// 		this.tableObjectMapper.registerModule(new TableModule());
// 	}
// 
// 	/**
// 	 * 
// 	 * @summary Get number of global tables
// 	 * 
// 	 * @return Number of global tables.
// 	 */
// 	@GET
// 	@Path("/count")
// 	@Produces(MediaType.APPLICATION_JSON)
// 	public String getTableCount() {
// 		final Set<CyTable> globals = tableManager.getGlobalTables();
// 		return getNumberObjectString(JsonTags.COUNT, globals.size());
// 	}
// }


// Path: src/test/java/org/cytoscape/rest/service/GlobalResourceTest.java
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import javax.ws.rs.core.Application;
import org.cytoscape.rest.internal.resource.GlobalTableResource;
import org.glassfish.jersey.server.ResourceConfig;
import org.junit.Test;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;

package org.cytoscape.rest.service;





public class GlobalResourceTest extends BasicResourceTest {

	
	private ObjectMapper mapper = new ObjectMapper();

	
	@Override
	protected Application configure() {
		return new ResourceConfig(GlobalTableResource.class);