chat commands: count barrows chests too

This commit is contained in:
Adam
2018-07-13 18:39:22 -04:00
parent 94fe9de7e0
commit a52b811af1
2 changed files with 20 additions and 0 deletions

View File

@@ -117,4 +117,15 @@ public class ChatCommandsPluginTest
verify(configManager).setConfiguration("killcount.adam", "kree'arra", 4);
}
@Test
public void testBarrows()
{
when(client.getUsername()).thenReturn("Adam");
ChatMessage chatMessageEvent = new ChatMessage(SERVER, "", "Your Barrows chest count is: <col=ff0000>277</col>.", null);
chatCommandsPlugin.onChatMessage(chatMessageEvent);
verify(configManager).setConfiguration("killcount.adam", "barrows", 277);
}
}