Question: im trying to create a junit test and im just slightly stuck on this at the moment and confusing myself at the moment. I dont

im trying to create a junit test and im just slightly stuck on this at the moment and confusing myself at the moment. I dont not know if I need to create a cpnstructor to get and set in the junit or what amd how to make sure at end of Jan 31 it goes to Feb 1.

im trying to create a junit test and im just slightly stuck

Im trying to write a method to test the date as if goingfrom Jan. 31 to Feb 1 to ensure once it is at end of month to change to next month.

the junit is what im working on and the other photos is the date class and month class to show what is given.

on this at the moment and confusing myself at the moment. I

dont not know if I need to create a cpnstructor to get

and set in the junit or what amd how to make sure

ndow Help D Month.java D Datejava |*JUnit.java X 1import org.junit.Test; 2 import static org. junit.Assert.*; 4 public class JUnit t 6 @Test 7- public void testFeb { 010 12 14 Date myDate = new Date(month, day); int result = i assertEquals); 15 Problems i Javadoc Declaration Console Diagrams No consoles to display at this time ndow Help D Month.java D Datejava |*JUnit.java X 1import org.junit.Test; 2 import static org. junit.Assert.*; 4 public class JUnit t 6 @Test 7- public void testFeb { 010 12 14 Date myDate = new Date(month, day); int result = i assertEquals); 15 Problems i Javadoc Declaration Console Diagrams No consoles to display at this time

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!