Question: please help ne answer this 1 . Write unit tests for the following methods of the StringUtils class in the Apache Commons Lang library. More
please help ne answer this
Write unit tests for the following methods of the StringUtils class in the Apache Commons Lang library. More detail of the class can be found in its documentation
write a test method for each of the following and test the target method four different ways Marks
a joinList list, String separator, int startIndex, int endIndex
b lastIndexOfCharSequence seq, int searchChar
c leftPadString str int size, char padChar
d repeatString str int repeat
c reverseString str
f splitString str char separatorChar
g startsWithCharSequence str CharSequence prefix
h substringString str int start
iquad trimString str
j upperCaseString str
Create a test suite to bundle all the above test cases to run them together Marks The evaluation will consider the effectiveness of your test cases.
Submission Requirements:
Create a Java project that include all the required dependencies and source code for performing unit tests. Export the project as a zip file and then upload on the course website
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
