From: David ‘Bombe’ Roden Date: Wed, 30 Oct 2013 06:03:56 +0000 (+0100) Subject: Remove unnecessary mocks. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=253c9c1552e471513d34ae48c156a367b417b827;p=Sone.git Remove unnecessary mocks. --- diff --git a/src/test/java/net/pterodactylus/sone/fcp/DeletePostCommandTest.java b/src/test/java/net/pterodactylus/sone/fcp/DeletePostCommandTest.java index 2dc0382..bc3cf6a 100644 --- a/src/test/java/net/pterodactylus/sone/fcp/DeletePostCommandTest.java +++ b/src/test/java/net/pterodactylus/sone/fcp/DeletePostCommandTest.java @@ -88,8 +88,6 @@ public class DeletePostCommandTest { @Test(expected = FcpException.class) public void verifyThatDeletingAPostWithAnInvalidPostIdCausesAnError() throws FcpException { - Sone sone = mocks.mockSone("Sone").local().create(); - mocks.mockPost(sone, "PostId"); SimpleFieldSet deletePostFieldSet = new SimpleFieldSetBuilder() .put("Message", "DeletePost") .put("Post", "OtherPostId")