/** */ package de.urszeidler.eclipse.shr5.tests; import java.math.BigDecimal; import junit.framework.TestCase; import de.urszeidler.eclipse.shr5.AbstraktGegenstand; /** * <!-- begin-user-doc --> * A test case for the model object '<em><b>Abstrakt Gegenstand</b></em>'. * <!-- end-user-doc --> * <p> * The following features are tested: * <ul> * <li>{@link de.urszeidler.eclipse.shr5.GeldWert#getWert() <em>Wert</em>}</li> * </ul> * </p> * @generated */ public abstract class AbstraktGegenstandTest extends TestCase { /** * The fixture for this Abstrakt Gegenstand test case. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected AbstraktGegenstand fixture = null; /** * Constructs a new Abstrakt Gegenstand test case with the given name. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public AbstraktGegenstandTest(String name) { super(name); } /** * Sets the fixture for this Abstrakt Gegenstand test case. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected void setFixture(AbstraktGegenstand fixture) { this.fixture = fixture; } /** * Returns the fixture for this Abstrakt Gegenstand test case. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected AbstraktGegenstand getFixture() { return fixture; } /** * Tests the '{@link de.urszeidler.eclipse.shr5.GeldWert#getWert() <em>Wert</em>}' feature getter. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see de.urszeidler.eclipse.shr5.GeldWert#getWert() * @generated not */ public void testGetWert() { getFixture().setWertValue(new BigDecimal(10)); assertEquals(10,getFixture().getWert().intValue()); } } //AbstraktGegenstandTest