Answers for "how to handle exception in expected of assert"

1

expected exception junit

@Test(expected = SomeException.class)
public void testName() {
	//some code
}
Posted by: Guest on January-04-2021

Code answers related to "how to handle exception in expected of assert"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language