package org.gcube.vremanagement.softwaregateway;

//import javax.inject.Named;
//
//import org.gcube.common.core.contexts.GCUBEServiceContext.Status;
//import org.gcube.common.mycontainer.Deployment;
//import org.gcube.common.mycontainer.Gar;
//import org.gcube.common.mycontainer.MyContainerTestRunner;
//import org.gcube.informationsystem.registry.impl.contexts.ServiceContext;
//import org.gcube.informationsystem.registry.impl.porttypes.ResourceRegistration;
//
//import org.apache.axis.message.addressing.EndpointReferenceType;
//
//import org.junit.BeforeClass;
//import org.junit.Test;
//import org.junit.runner.RunWith;
//import static org.junit.Assert.*;


//@RunWith(MyContainerTestRunner.class)
public class RegistryInitializerTest {

//	@Deployment
//	static Gar serviceGar=new Gar("org.gcube.vremanagement.softwaregateway").
//		addConfigurations("../config").
//		addInterfaces("../wsdl");
//	
//	@Named("gcube/informationsystem/registry/ResourceRegistration")
//	ResourceRegistration registration;
//	
//	
//	@Named("gcube/informationsystem/registry/ResourceRegistration")
//	EndpointReferenceType registrationEpr;
//	
//	@BeforeClass
//	public static void serviceHasStarted() {
//		assertTrue(ServiceContext.getContext().getStatus()==Status.READIED);
//	}
//	
//
//	@Test
//	public void serviceAvailabilityTest() throws Exception {
//		assertNotNull(registrationEpr);
//	}
}
