diff --git a/Roboter/tpe/facade/FactorySystemTest.java b/Roboter/tpe/facade/FactorySystemTest.java index fdd3833..0358286 100644 --- a/Roboter/tpe/facade/FactorySystemTest.java +++ b/Roboter/tpe/facade/FactorySystemTest.java @@ -62,16 +62,16 @@ int[] testZahlen2= {1,4,3,41,78,20}; assertEquals(fs.robotInstructions(testid2, testZahlen2), "1, 3, 4, 20, 41, 78"); } - @Test - void robotBlackBox() { +// @Test +// void robotBlackBox() { - fs.triggerPower(testid); - RobotMagicValueException thrownValue=Assertions.assertThrows(RobotMagicValueException.class,() -> fs.robotInstructions(testid,testZahlen1)); - assertEquals(thrownValue.getMessage(),fs.robotBlackbox(testid)); +// fs.triggerPower(testid); +// RobotMagicValueException thrownValue=Assertions.assertThrows(RobotMagicValueException.class,() -> fs.robotInstructions(testid,testZahlen1)); +// assertEquals(thrownValue.getMessage(),fs.robotBlackbox(testid)); -// RobotIllegalStateException thrownState = Assertions.assertThrows(RobotIllegalStateException.class,() -> fs.robotInstructions(testid,testZahlen2)); +// RobotIllegalStateException thrownState = Assertions.assertThrows(RobotIllegalStateException.class,() -> fs.robotInstructions(testid,testZahlen2)); // assertEquals(thrownState.getMessage(),fs.robotBlackbox(testid)); - } +// } }