diff options
-rw-r--r-- | server/tests/src/com/vaadin/tests/data/validator/TestNullValidator.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/server/tests/src/com/vaadin/tests/data/validator/TestNullValidator.java b/server/tests/src/com/vaadin/tests/data/validator/TestNullValidator.java index 1c838db3ec..0a0634ec8f 100644 --- a/server/tests/src/com/vaadin/tests/data/validator/TestNullValidator.java +++ b/server/tests/src/com/vaadin/tests/data/validator/TestNullValidator.java @@ -2,9 +2,6 @@ package com.vaadin.tests.data.validator; import junit.framework.TestCase; -import org.junit.Rule; -import org.junit.rules.ExpectedException; - import com.vaadin.data.Validator; import com.vaadin.data.validator.NullValidator; @@ -13,9 +10,6 @@ public class TestNullValidator extends TestCase { NullValidator notNull = new NullValidator("Null not accepted", false); NullValidator onlyNull = new NullValidator("Only null accepted", true); - @Rule - public ExpectedException exception = ExpectedException.none(); - public void testNullValue() { try { notNull.validate(null); |