[Tynstep-svn] r220 - trunk/step/step-web/src/test/java/com/tyndalehouse/step/rest/controllers

ChrisBurrell at crosswire.org ChrisBurrell at crosswire.org
Sat Mar 19 04:40:37 MST 2011


Author: ChrisBurrell
Date: 2011-03-19 04:40:37 -0700 (Sat, 19 Mar 2011)
New Revision: 220

Modified:
   trunk/step/step-web/src/test/java/com/tyndalehouse/step/rest/controllers/FrontControllerTest.java
Log:
committing change to test to fix build

Modified: trunk/step/step-web/src/test/java/com/tyndalehouse/step/rest/controllers/FrontControllerTest.java
===================================================================
--- trunk/step/step-web/src/test/java/com/tyndalehouse/step/rest/controllers/FrontControllerTest.java	2011-03-19 09:53:18 UTC (rev 219)
+++ trunk/step/step-web/src/test/java/com/tyndalehouse/step/rest/controllers/FrontControllerTest.java	2011-03-19 11:40:37 UTC (rev 220)
@@ -247,7 +247,7 @@
         final HttpServletResponse response = mock(HttpServletResponse.class);
         final StepRequest stepRequest = new StepRequest("controller", "method", null);
         final ServletOutputStream outputStream = mock(ServletOutputStream.class);
-        final Throwable exception = mock(Throwable.class);
+        final Throwable exception = new Exception();
         when(response.getOutputStream()).thenReturn(outputStream);
 
         // do test
@@ -255,7 +255,6 @@
 
         // check
         verify(outputStream).write(any(byte[].class));
-        verify(exception).getMessage();
     }
 
     /**




More information about the Tynstep-svn mailing list