Question: In this assignment, you are required to use JUnit test framework to write unit test cases for the following Java classes. Note that only the
In this assignment, you are required to use JUnit test framework to write unit test cases for the following Java classes. Note that only the 12 specified methods need to be tested. The links for downloading the corresponding packages are given below the class name. Email addBcc(String... emails) Email addCc(String email) void addHeader(String name, String value) Email addReplyTo(String email, String name) void buildMimeMessage() String getHostName() Session getMailSession() Date getSentDate() int getSocketConnectionTimeout() String send() Email setFrom(String email) void updateContentType(String aContentType)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
