Package org.jscep.transport.response

Examples of org.jscep.transport.response.InvalidContentException


public class InvalidContentExceptionTest {

    @Test
    public void testInvalidContentExceptionCause() {
  Throwable cause = new Exception();
  InvalidContentException e = new InvalidContentException(cause);

  assertThat(e.getCause(), is(cause));
    }
View Full Code Here


    }

    @Test
    public void testInvalidContentExceptionMessage() {
  String message = "message";
  InvalidContentException e = new InvalidContentException(message);

  assertThat(e.getMessage(), is(message));
    }
View Full Code Here

TOP

Related Classes of org.jscep.transport.response.InvalidContentException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.