From 253c9c1552e471513d34ae48c156a367b417b827 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 30 Oct 2013 07:03:56 +0100 Subject: [PATCH] Remove unnecessary mocks. --- src/test/java/net/pterodactylus/sone/fcp/DeletePostCommandTest.java | 2 -- 1 file changed, 2 deletions(-) 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") -- 2.7.4