com.atlassian.plugins.rest.common.validation
Class ValidationInterceptorTest

java.lang.Object
  extended by com.atlassian.plugins.rest.common.validation.ValidationInterceptorTest

public class ValidationInterceptorTest
extends java.lang.Object


Constructor Summary
ValidationInterceptorTest()
           
 
Method Summary
 void setUp()
           
 void testInterceptFail()
           
 void testInterceptFailWithCustomMessageInterpolator()
           
 void testInterceptPass()
           
 void testInterceptPassNoAnnotations()
           
 void testInterceptPassNoEntityParameter()
           
 void testInterceptPassParametersButNoEntity()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationInterceptorTest

public ValidationInterceptorTest()
Method Detail

setUp

public void setUp()

testInterceptPass

public void testInterceptPass()
                       throws java.lang.IllegalAccessException,
                              java.lang.reflect.InvocationTargetException
Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException

testInterceptPassNoAnnotations

public void testInterceptPassNoAnnotations()
                                    throws java.lang.IllegalAccessException,
                                           java.lang.reflect.InvocationTargetException
Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException

testInterceptPassParametersButNoEntity

public void testInterceptPassParametersButNoEntity()
                                            throws java.lang.IllegalAccessException,
                                                   java.lang.reflect.InvocationTargetException
Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException

testInterceptPassNoEntityParameter

public void testInterceptPassNoEntityParameter()
                                        throws java.lang.IllegalAccessException,
                                               java.lang.reflect.InvocationTargetException
Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException

testInterceptFail

public void testInterceptFail()
                       throws java.lang.IllegalAccessException,
                              java.lang.reflect.InvocationTargetException
Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException

testInterceptFailWithCustomMessageInterpolator

public void testInterceptFailWithCustomMessageInterpolator()
                                                    throws java.lang.IllegalAccessException,
                                                           java.lang.reflect.InvocationTargetException
Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException


Copyright © 2014 Atlassian. All Rights Reserved.