Hello,
Please, could you create a JUnit test for the class below thatwould test every method in it. Thank you
This is a java class, Using Eclipse, I need to create a JUnittest called EmployeeTest.java that will test every method in theEmployee Class
package week03;
import java.text.DecimalFormat;
/**
* Represents an employee
*
*
*/
public class Employee
{
/**
* Default constructor
*/
public Employee()
{
this(“New First”, “New Last”);
}
/**
* Overloaded constructor
*
* @param first
* First name
* @param last
* Last name
*/
public Employee(String first, String last)
{
this(first, last, 0.0);
}
/**
* Parameterized constructor
*
* @param first
* First name
* @param last
* Last name
* @param salary
* Salary
*/
public Employee(String first, String last, double salary)
{
m_first = first;
m_last = last;
m_salary = salary;
m_decimalFormatter = new DecimalFormat(MONEY_PATTERN);
}
/** Setter for first name */
public void setFirstName(String
PayPal Gateway not configured
PayPal Gateway not configured