@Test public void testGetFolderOpenMode() throws Exception { final int folderOpenMode = serviceSpy.getFolderOpenMode(); assertEquals(2, folderOpenMode); }
int getFolderOpenMode() { return Folder.READ_WRITE; }
GetMailMessageService { int getFolderOpenMode() { return Folder.READ_WRITE; } }
GetMailMessageService { int getFolderOpenMode() { return Folder.READ_WRITE; }  }
GetMailMessageService { int getFolderOpenMode() { return Folder.READ_WRITE; }  Map<String, String> execute(GetMailMessageInput getMailMessageInput); }
GetMailMessageService { int getFolderOpenMode() { return Folder.READ_WRITE; }  Map<String, String> execute(GetMailMessageInput getMailMessageInput);  }