Skip to content
Browse files

Added presenter response unit test for documentation purposes

  • Loading branch information...
1 parent d7a4172 commit 91e1b0b0b395c80be15b2b5994d837391131b890 @grahambrooks committed Jul 27, 2010
Showing with 17 additions and 0 deletions.
  1. +17 −0 core/test/bvira/web/PresenterResponseUnitTests.java
View
17 core/test/bvira/web/PresenterResponseUnitTests.java
@@ -0,0 +1,17 @@
+package bvira.web;
+
+import bvira.framework.RequestUri;
+import org.junit.Test;
+
+import javax.servlet.http.HttpServletResponse;
+
+import static org.mockito.Mockito.mock;
+
+public class PresenterResponseUnitTests {
+ @Test
+ public void presenterResponseWrapsResponseToImproveSemantics() {
+ HttpServletResponse response = mock(HttpServletResponse.class);
+ RequestUri requestUri = mock(RequestUri.class);
+ PresenterResponse.create(response, requestUri);
+ }
+}

0 comments on commit 91e1b0b

Please sign in to comment.
Something went wrong with that request. Please try again.