Naming unit test methods of overloads in Java

Viewed 2387

What is the most accepted way to name a unit test method when the target has overloads. Consider these methods:

doSomething();
doSomething(String);

How would you name the corresponding test methods? Would this be the most accepted way?

testDoSomething();
testDoSomethingString();
4 Answers
Related