| | |
| | | } |
| | | |
| | | /** |
| | | * Tests that exception thrown when no enum class |
| | | * specified by builder |
| | | * Tests that exception thrown when no enum class specified by builder. |
| | | */ |
| | | @Test |
| | | public void testBuildInstance() { |
| | |
| | | } |
| | | |
| | | /** |
| | | * Tests that exception thrown when no enum class |
| | | * specified by builder |
| | | * Tests that exception thrown when no enum class specified by builder. |
| | | */ |
| | | @Test(expectedExceptions = {IllegalStateException.class}) |
| | | public void testBuildInstance2() { |
| | |
| | | } |
| | | |
| | | /** |
| | | * Creates data decodeValue test |
| | | * Creates data decodeValue test. |
| | | * @return data |
| | | */ |
| | | @DataProvider(name = "decodeValueData") |
| | |
| | | } |
| | | |
| | | /** |
| | | * Tests decodeValue() |
| | | * Tests decodeValue(). |
| | | * @param value to decode |
| | | * @param expectedValue enum expected |
| | | */ |
| | |
| | | } |
| | | |
| | | /** |
| | | * Creates illegal data for decode value test |
| | | * Creates illegal data for decode value test. |
| | | * @return data |
| | | */ |
| | | @DataProvider(name = "decodeValueData2") |
| | |
| | | } |
| | | |
| | | /** |
| | | * Tests decodeValue() |
| | | * Tests decodeValue(). |
| | | * @param value to decode |
| | | */ |
| | | @Test(dataProvider = "decodeValueData2", |
| | |
| | | } |
| | | |
| | | /** |
| | | * Tests normalization |
| | | * Tests normalization. |
| | | */ |
| | | @Test |
| | | public void testNormalizeValue() { |
| | |
| | | } |
| | | |
| | | /** |
| | | * Tests validation |
| | | * Tests validation. |
| | | */ |
| | | @Test |
| | | public void testValidateValue() { |