1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
|
package aufgabe18;
import static org.junit.Assert.*;
import junit.framework.TestCase;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
public class KundenbewertungTest extends TestCase
{ private static Zustand kritisch;
private static Kundenbewertung kw;
@Test
public void verspaetetGezahlt()
{ kw = new Kundenbewertung();
kw.verspaetetGezahlt();
Zustand kritisch= new ZustandKritisch();
assertSame(kw.zustand, kritisch); } }
|