|
@ -57,6 +57,9 @@ public class ItemTest extends TestCase { |
|
|
assertEquals(expectedPrice, actualPrice); |
|
|
assertEquals(expectedPrice, actualPrice); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* Check if creating a complete item with all attributes works as intended. |
|
|
|
|
|
*/ |
|
|
public void test_buildCompleteItem() { |
|
|
public void test_buildCompleteItem() { |
|
|
// Given |
|
|
// Given |
|
|
String expectedTitel = "Logitec Maus"; |
|
|
String expectedTitel = "Logitec Maus"; |
|
|