/** */ package petrinet.tests; import junit.framework.TestCase; import junit.textui.TestRunner; import petrinet.Network; import petrinet.PetrinetFactory; /** * * A test case for the model object 'Network'. * * @generated */ public class NetworkTest extends TestCase { /** * The fixture for this Network test case. * * * @generated */ protected Network fixture = null; /** * * * @generated */ public static void main(String[] args) { TestRunner.run(NetworkTest.class); } /** * Constructs a new Network test case with the given name. * * * @generated */ public NetworkTest(String name) { super(name); } /** * Sets the fixture for this Network test case. * * * @generated */ protected void setFixture(Network fixture) { this.fixture = fixture; } /** * Returns the fixture for this Network test case. * * * @generated */ protected Network getFixture() { return fixture; } /** * * * @see junit.framework.TestCase#setUp() * @generated */ @Override protected void setUp() throws Exception { setFixture(PetrinetFactory.eINSTANCE.createNetwork()); } /** * * * @see junit.framework.TestCase#tearDown() * @generated */ @Override protected void tearDown() throws Exception { setFixture(null); } } //NetworkTest