chat commands: add herbiboar kc

This commit is contained in:
Jim Frode Nilsen
2019-03-27 23:48:53 +01:00
committed by Adam
parent f42bccc8f4
commit 43e2446798
2 changed files with 14 additions and 1 deletions

View File

@@ -130,6 +130,17 @@ public class ChatCommandsPluginTest
verify(configManager).setConfiguration("killcount.adam", "barrows chests", 277);
}
@Test
public void testHerbiboar()
{
when(client.getUsername()).thenReturn("Adam");
ChatMessage chatMessageEvent = new ChatMessage(null, SERVER, "", "Your herbiboar harvest count is: <col=ff0000>4091</col>.", null, 0);
chatCommandsPlugin.onChatMessage(chatMessageEvent);
verify(configManager).setConfiguration("killcount.adam", "herbiboar", 4091);
}
@Test
public void testPersonalBest()
{