Arsnael commented on code in PR #3010:
URL: https://github.com/apache/james-project/pull/3010#discussion_r3070559414


##########
server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/EmailGetMethodContract.scala:
##########
@@ -60,15 +62,11 @@ import org.junit.jupiter.api.{BeforeEach, Test}
 import play.api.libs.json.Json
 
 object EmailGetMethodContract {
-  private def createTestMessage: Message = Message.Builder
-      .of
-      .setSubject("test")
-      .setSender(ANDRE.asString())
-      .setFrom(ANDRE.asString())
-      .setSubject("World domination \r\n" +
-        " and this is also part of the header")
-      .setBody("testmail", StandardCharsets.UTF_8)
-      .build
+  case class TestContext(bobUsername: Username, bobAccountId: String,
+                        andreUsername: Username, andreAccountId: String,
+                        aliceUsername: Username, aliceAccountId: String)
+  val currentContext: java.util.concurrent.atomic.AtomicReference[TestContext] 
=

Review Comment:
   Should probably import AtomicReference?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to