blob: 0fa90c05be25f651a0b86f024e1358e543bdfdcf [file] [log] [blame]
/**
*/
package adaptorinterface.tests;
import adaptorinterface.AdaptorinterfaceFactory;
import adaptorinterface.Service;
import junit.framework.TestCase;
import junit.textui.TestRunner;
/**
* <!-- begin-user-doc -->
* A test case for the model object '<em><b>Service</b></em>'.
* <!-- end-user-doc -->
* @generated
*/
public class ServiceTest extends TestCase {
/**
* The fixture for this Service test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected Service fixture = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static void main(String[] args) {
TestRunner.run(ServiceTest.class);
}
/**
* Constructs a new Service test case with the given name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ServiceTest(String name) {
super(name);
}
/**
* Sets the fixture for this Service test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void setFixture(Service fixture) {
this.fixture = fixture;
}
/**
* Returns the fixture for this Service test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected Service getFixture() {
return fixture;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#setUp()
* @generated
*/
@Override
protected void setUp() throws Exception {
setFixture(AdaptorinterfaceFactory.eINSTANCE.createService());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#tearDown()
* @generated
*/
@Override
protected void tearDown() throws Exception {
setFixture(null);
}
} //ServiceTest