Class WebApplicationExceptionMapperTest
- java.lang.Object
-
- org.fcrepo.http.commons.exceptionhandlers.WebApplicationExceptionMapperTest
-
public class WebApplicationExceptionMapperTest extends Object
WebApplicationExceptionMapperTest class.
- Author:
- lsitu, awoods
-
-
Constructor Summary
Constructors Constructor Description WebApplicationExceptionMapperTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestNoEntityBody()Insures that the WebApplicationExceptionMapper does not provide an entity body to 204, 205, or 304 responses.voidtestToResponse()
-
-
-
Constructor Detail
-
WebApplicationExceptionMapperTest
public WebApplicationExceptionMapperTest()
-
-
Method Detail
-
setUp
public void setUp()
-
testToResponse
public void testToResponse()
-
testNoEntityBody
public void testNoEntityBody()
Insures that the WebApplicationExceptionMapper does not provide an entity body to 204, 205, or 304 responses. Entity bodies on other responses are mapped appropriately.
-
-