Test runner is used for executing the test cases.
import static org.junit.Assert.*;
* This is test case class for… Read More
Expected exception test is used for the methods which can throw an exception. We have to specify expected exception in @Test(expected = expectedException.class) action. If expected exception… Read More