diff --git a/src/test/java/com/questhelper/helpers/quests/thecurseofarrav/KeysAndLeversTest.java b/src/test/java/com/questhelper/helpers/quests/thecurseofarrav/KeysAndLeversTest.java index 279db4a5fe..86986ebe6b 100644 --- a/src/test/java/com/questhelper/helpers/quests/thecurseofarrav/KeysAndLeversTest.java +++ b/src/test/java/com/questhelper/helpers/quests/thecurseofarrav/KeysAndLeversTest.java @@ -181,18 +181,6 @@ void getToSouthLeverAfterInsertingKey1() assertEquals(this.helper.getToSouthLever, conditionalStep.getActiveStep()); } - @Test - void getToSouthLeverAfterInsertingKey2() - { - var mockedItems = new Item[]{ - new Item(ItemID.MASTABA_KEY_30309, 1), - }; - when(client.getVarbitValue(VARBIT_SOUTH_LEVER_STATE)).thenReturn(1); - var conditionalStep = this.init(new WorldPoint(3845, 4547, 0), mockedItems); - - assertEquals(this.helper.getToSouthLever, conditionalStep.getActiveStep()); - } - @Test void pullSouthLeverAfterInsertingKey1() { @@ -205,18 +193,6 @@ void pullSouthLeverAfterInsertingKey1() assertEquals(this.helper.pullSouthLever, conditionalStep.getActiveStep()); } - @Test - void pullSouthLeverAfterInsertingKey2() - { - var mockedItems = new Item[]{ - new Item(ItemID.MASTABA_KEY_30309, 1), - }; - when(client.getVarbitValue(VARBIT_SOUTH_LEVER_STATE)).thenReturn(1); - var conditionalStep = this.init(new WorldPoint(3893, 4552, 0), mockedItems); - - assertEquals(this.helper.pullSouthLever, conditionalStep.getActiveStep()); - } - @Test void leaveSouthLeverAfterInsertingKey1() { @@ -229,18 +205,6 @@ void leaveSouthLeverAfterInsertingKey1() assertEquals(this.helper.leaveSouthLever, conditionalStep.getActiveStep()); } - @Test - void leaveSouthLeverAfterInsertingKey2() - { - var mockedItems = new Item[]{ - new Item(ItemID.MASTABA_KEY_30309, 1), - }; - when(client.getVarbitValue(VARBIT_SOUTH_LEVER_STATE)).thenReturn(2); - var conditionalStep = this.init(new WorldPoint(3893, 4552, 0), mockedItems); - - assertEquals(this.helper.leaveSouthLever, conditionalStep.getActiveStep()); - } - @Test void goToNorthLeverAfterPullingSouthLeverKey1() { @@ -253,18 +217,6 @@ void goToNorthLeverAfterPullingSouthLeverKey1() assertEquals(this.helper.getToNorthLever, conditionalStep.getActiveStep()); } - @Test - void goToNorthLeverAfterPullingSouthLeverKey2() - { - var mockedItems = new Item[]{ - new Item(ItemID.MASTABA_KEY_30309, 1), - }; - when(client.getVarbitValue(VARBIT_SOUTH_LEVER_STATE)).thenReturn(2); - var conditionalStep = this.init(new WorldPoint(3845, 4547, 0), mockedItems); - - assertEquals(this.helper.getToNorthLever, conditionalStep.getActiveStep()); - } - @Test void insertKeyIntoNorthLeverAfterPullingSouthLeverKey1() { @@ -277,18 +229,6 @@ void insertKeyIntoNorthLeverAfterPullingSouthLeverKey1() assertEquals(this.helper.pullNorthLever, conditionalStep.getActiveStep()); } - @Test - void insertKeyIntoNorthLeverAfterPullingSouthLeverKey2() - { - var mockedItems = new Item[]{ - new Item(ItemID.MASTABA_KEY_30309, 1), - }; - when(client.getVarbitValue(VARBIT_SOUTH_LEVER_STATE)).thenReturn(2); - var conditionalStep = this.init(new WorldPoint(3894, 4597, 0), mockedItems); - - assertEquals(this.helper.pullNorthLever, conditionalStep.getActiveStep()); - } - @Test void getToSouthLeverAfterInsertingKey() { @@ -312,16 +252,4 @@ void pullNorthLeverAfterPullingSouthLeverKey1() assertEquals(this.helper.pullNorthLever, conditionalStep.getActiveStep()); } - - @Test - void pullNorthLeverAfterPullingSouthLeverKey2() - { - var mockedItems = new Item[]{ - }; - when(client.getVarbitValue(VARBIT_SOUTH_LEVER_STATE)).thenReturn(2); - when(client.getVarbitValue(VARBIT_NORTH_LEVER_STATE)).thenReturn(1); - var conditionalStep = this.init(new WorldPoint(3894, 4597, 0), mockedItems); - - assertEquals(this.helper.pullNorthLever, conditionalStep.getActiveStep()); - } }