Question: Find out the central class and implement the scenario. Keep it in mind that it Open-Closed principle. should obey the Problem 2. Consider the following
Find out the central class and implement the scenario. Keep it in mind that it Open-Closed principle. should obey the Problem 2. Consider the following class: public class Employee String name; Employee (String name) ( this.name name; public String getName() return name; Write a simple JUnit test for testing the "Constructor" and the "getName0)" method of the given Employee class. Remember to state whether the test should PASS or FAIL
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
