|
@ -7,7 +7,7 @@ public class BirthdateTest extends TestCase { |
|
|
/** |
|
|
/** |
|
|
* Test method for {@link de.hs_fulda.ciip.projjpn.Birthdate#toString()}. |
|
|
* Test method for {@link de.hs_fulda.ciip.projjpn.Birthdate#toString()}. |
|
|
*/ |
|
|
*/ |
|
|
public final void testToString() { |
|
|
|
|
|
|
|
|
public void testToString() { |
|
|
|
|
|
|
|
|
// Given |
|
|
// Given |
|
|
Birthdate b = new Birthdate(1, 1, 2000); |
|
|
Birthdate b = new Birthdate(1, 1, 2000); |
|
@ -17,5 +17,5 @@ public class BirthdateTest extends TestCase { |
|
|
|
|
|
|
|
|
// Then |
|
|
// Then |
|
|
assertEquals(expectedDate, b.toString()); |
|
|
assertEquals(expectedDate, b.toString()); |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |