Skip to content
Snippets Groups Projects
Commit 8cf7e83c authored by Martin Schmollinger's avatar Martin Schmollinger
Browse files

Refactored name of test method

parent 89ed51bd
No related branches found
No related tags found
No related merge requests found
package io.fp.shapes; package io.fp.shapes;
import org.junit.jupiter.api.Assertions; import static org.junit.jupiter.api.Assertions.assertThrows;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
public class ShapesTest { public class ShapesTest {
@Test @Test
void testSizeExpetion() { void testIncorrectCreation() {
assertThrows(SizeException.class, () -> {
Assertions.assertThrows(SizeException.class, () -> {
new RectangleCircle(2, 1, 1); new RectangleCircle(2, 1, 1);
}); });
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment