Class DefaultRecursiveAssertionIntrospectionStrategy

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<RecursiveAssertionNode> getChildNodesOf​(java.lang.Object node)
      Returns the child nodes of the given object that will be asserted in the recursive assertion.
      java.lang.String getDescription()
      Returns a human-readable description of the strategy to be used in error messages.
      private static java.lang.Class<?> getFieldType​(java.lang.Object fieldValue, java.lang.String fieldName, java.lang.Object targetObject)  
      private static java.lang.Class<?> getFieldType​(java.lang.String fieldName, java.lang.Class<?> objectClass)  
      private static RecursiveAssertionNode toNode​(java.lang.reflect.Field field, java.lang.Object node)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultRecursiveAssertionIntrospectionStrategy

        public DefaultRecursiveAssertionIntrospectionStrategy()
    • Method Detail

      • toNode

        private static RecursiveAssertionNode toNode​(java.lang.reflect.Field field,
                                                     java.lang.Object node)
      • getFieldType

        private static java.lang.Class<?> getFieldType​(java.lang.Object fieldValue,
                                                       java.lang.String fieldName,
                                                       java.lang.Object targetObject)
      • getFieldType

        private static java.lang.Class<?> getFieldType​(java.lang.String fieldName,
                                                       java.lang.Class<?> objectClass)