Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started