diff --git a/test/test_discordmessageprocessor.ts b/test/test_discordmessageprocessor.ts
index 95e098986053bdc6ea1b413e80ebc322a456e9a9..78f75ae6f8e18a7e8df5217a688caabf942e9de0 100644
--- a/test/test_discordmessageprocessor.ts
+++ b/test/test_discordmessageprocessor.ts
@@ -75,30 +75,32 @@ describe("DiscordMessageProcessor", () => {
             Chai.assert.equal(result.formattedBody, "<em> italic </em>");
         });
         it("replaces @everyone correctly", async () => {
-            const processor = new MessageProcessor(new MessageProcessorOpts("localhost"), bot as DiscordBot);
+            const processor = new DiscordMessageProcessor(
+                new DiscordMessageProcessorOpts("localhost"), bot as DiscordBot);
             const msg = new MockMessage() as any;
             msg.embeds = [];
             msg.content = "hey @everyone!";
-            let result = await processor.FormatDiscordMessage(msg);
+            let result = await processor.FormatMessage(msg);
             Chai.assert.equal(result.body, "hey @everyone!");
             Chai.assert.equal(result.formattedBody, "hey @everyone!");
 
             msg.mentions.everyone = true;
-            result = await processor.FormatDiscordMessage(msg);
+            result = await processor.FormatMessage(msg);
             Chai.assert.equal(result.body, "hey @room!");
             Chai.assert.equal(result.formattedBody, "hey @room!");
         });
         it("replaces @here correctly", async () => {
-            const processor = new MessageProcessor(new MessageProcessorOpts("localhost"), bot as DiscordBot);
+            const processor = new DiscordMessageProcessor(
+                new DiscordMessageProcessorOpts("localhost"), bot as DiscordBot);
             const msg = new MockMessage() as any;
             msg.embeds = [];
             msg.content = "hey @here!";
-            let result = await processor.FormatDiscordMessage(msg);
+            let result = await processor.FormatMessage(msg);
             Chai.assert.equal(result.body, "hey @here!");
             Chai.assert.equal(result.formattedBody, "hey @here!");
 
             msg.mentions.everyone = true;
-            result = await processor.FormatDiscordMessage(msg);
+            result = await processor.FormatMessage(msg);
             Chai.assert.equal(result.body, "hey @room!");
             Chai.assert.equal(result.formattedBody, "hey @room!");
         });