blob: 1bd97ea6747f4cfec8e4f1279030120812d1ac3a [file] [log] [blame]
/**
*/
package org.eclipse.papyrus.layers.stackmodel.layers.tests;
import junit.textui.TestRunner;
import org.eclipse.papyrus.layers.stackmodel.layers.LayersFactory;
import org.eclipse.papyrus.layers.stackmodel.layers.NullInstance;
/**
* <!-- begin-user-doc -->
* A test case for the model object '<em><b>Null Instance</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following operations are tested:
* <ul>
* <li>{@link org.eclipse.papyrus.layers.stackmodel.layers.NullInstance#getInstance() <em>Get Instance</em>}</li>
* </ul>
* </p>
*
* @generated
*/
public class NullInstanceTest extends TypeInstanceTest {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated
*/
public static void main(String[] args) {
TestRunner.run(NullInstanceTest.class);
}
/**
* Constructs a new Null Instance test case with the given name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated
*/
public NullInstanceTest(String name) {
super(name);
}
/**
* Returns the fixture for this Null Instance test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated
*/
@Override
protected NullInstance getFixture() {
return (NullInstance) fixture;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @see junit.framework.TestCase#setUp()
* @generated
*/
@Override
protected void setUp() throws Exception {
setFixture(LayersFactory.eINSTANCE.createNullInstance());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @see junit.framework.TestCase#tearDown()
* @generated
*/
@Override
protected void tearDown() throws Exception {
setFixture(null);
}
/**
* Tests the '{@link org.eclipse.papyrus.layers.stackmodel.layers.NullInstance#getInstance() <em>Get Instance</em>}' operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @see org.eclipse.papyrus.layers.stackmodel.layers.NullInstance#getInstance()
* @generated
*/
public void testGetInstance() {
// TODO: implement this operation test method
// Ensure that you remove @generated or mark it @generated NOT
fail();
}
} // NullInstanceTest