I have inherited a Java project and am new to Java development. I feel a good way for me to get comfortable with the code is to write some tests around it. I\'m writing my c
Extending junit.framework.TestCase is the old JUnit 3 approach of implementing test cases which doesnt work as no methods start with the letters test. Since you're using JUnit 4, just declare the class as
public class EmailProviderTest {
and the test method will be found from the @Test annotation.
Read: JUnit confusion: use 'extend Testcase' or '@Test'?