JAMES-2361 rename utility method to make it clear what it does

Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/dcf7934a
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/dcf7934a
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/dcf7934a

Branch: refs/heads/master
Commit: dcf7934a8b42dd3f3ac736915198a8f28e5edd24
Parents: 02ed3ab
Author: Matthieu Baechler <matth...@apache.org>
Authored: Tue Mar 20 16:36:38 2018 +0100
Committer: Matthieu Baechler <matth...@apache.org>
Committed: Mon Mar 26 14:57:23 2018 +0200

----------------------------------------------------------------------
 .../jmap/methods/integration/SendMDNMethodTest.java     | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/dcf7934a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/SendMDNMethodTest.java
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/SendMDNMethodTest.java
 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/SendMDNMethodTest.java
index 8d595eb..ac5a42e 100644
--- 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/SendMDNMethodTest.java
+++ 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/SendMDNMethodTest.java
@@ -105,7 +105,7 @@ public abstract class SendMDNMethodTest {
         bartAccessToken = 
HttpJmapAuthentication.authenticateJamesUser(baseUri(), BART, BOB_PASSWORD);
     }
 
-    private void sendAnInitialMessage() {
+    private void bartSendMessageToHomer() {
         String messageCreationId = "creationId";
         String outboxId = getOutboxId(bartAccessToken);
         String requestBody = "[" +
@@ -186,7 +186,7 @@ public abstract class SendMDNMethodTest {
 
     @Test
     public void sendMDNShouldReturnCreatedMessageId() {
-        sendAnInitialMessage();
+        bartSendMessageToHomer();
 
         List<String> messageIds = 
getMessageIdListForAccount(homerAccessToken.serialize());
 
@@ -217,7 +217,7 @@ public abstract class SendMDNMethodTest {
 
     @Test
     public void sendMDNShouldFailOnUnknownMessageId() {
-        sendAnInitialMessage();
+        bartSendMessageToHomer();
 
         String creationId = "creation-1";
         String randomMessageId = randomMessageId().serialize();
@@ -290,7 +290,7 @@ public abstract class SendMDNMethodTest {
 
     @Test
     public void sendMDNShouldSendAMDNBackToTheOriginalMessageAuthor() {
-        sendAnInitialMessage();
+        bartSendMessageToHomer();
 
         List<String> messageIds = 
getMessageIdListForAccount(homerAccessToken.serialize());
 
@@ -335,7 +335,7 @@ public abstract class SendMDNMethodTest {
 
     @Test
     public void sendMDNShouldPositionTheReportAsAnAttachment() {
-        sendAnInitialMessage();
+        bartSendMessageToHomer();
 
         List<String> messageIds = 
getMessageIdListForAccount(homerAccessToken.serialize());
 
@@ -413,7 +413,7 @@ public abstract class SendMDNMethodTest {
 
     @Test
     public void sendMDNShouldReturnMaxQuotaReachedWhenUserReachedHisQuota() 
throws MailboxException {
-        sendAnInitialMessage();
+        bartSendMessageToHomer();
 
         List<String> messageIds = 
getMessageIdListForAccount(homerAccessToken.serialize());
 


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to