Upon reviewer's request:

(FIX) Deleted .puml file (no longer required or used)
(FIX) Removed @since annotations (they add noise)
This commit is contained in:
George Aristy
2017-12-29 09:35:57 -04:00
parent 10c0879d3b
commit c1ea04e002
13 changed files with 91 additions and 66 deletions
@@ -32,13 +32,10 @@ import org.junit.Test;
* Unit tests for {@link FindCustomer}.
*
* @author George Aristy (george.aristy@gmail.com)
* @since 1.18.0
*/
public class FindCustomerTest {
/**
* Returns the given result with no exceptions.
*
* @since 1.18.0
*/
@Test
public void noExceptions() throws Exception {
@@ -52,7 +49,6 @@ public class FindCustomerTest {
* Throws the given exception.
*
* @throws Exception the expected exception
* @since 1.18.0
*/
@Test(expected = BusinessException.class)
public void oneException() throws Exception {
@@ -63,7 +59,6 @@ public class FindCustomerTest {
* Should first throw the given exceptions, then return the given result.
*
* @throws Exception not an expected exception
* @since 1.18.0
*/
@Test
public void resultAfterExceptions() throws Exception {
@@ -33,13 +33,10 @@ import static org.junit.Assert.*;
* Unit tests for {@link Retry}.
*
* @author George Aristy (george.aristy@gmail.com)
* @since 1.18.0
*/
public class RetryTest {
/**
* Should contain all errors thrown.
*
* @since 1.18.0
*/
@Test
public void errors() throws Exception {
@@ -64,8 +61,6 @@ public class RetryTest {
/**
* No exceptions will be ignored, hence final number of attempts should be 1 even if we're asking
* it to attempt twice.
*
* @since 1.18.0
*/
@Test
public void attempts() {
@@ -90,8 +85,6 @@ public class RetryTest {
/**
* Final number of attempts should be equal to the number of attempts asked because we are
* asking it to ignore the exception that will be thrown.
*
* @since 1.18.0
*/
@Test
public void ignore() throws Exception {