org.springframework.boot.test.json

Class ObjectContent<T>

    • Constructor Detail

      • ObjectContent

        public ObjectContent(ResolvableType type,
                             T object)
        Create a new ObjectContent instance.
        Parameters:
        type - the type under test (or null if not known)
        object - the actual object content
    • Method Detail

      • getObject

        public T getObject()
        Return the actual object content.
        Returns:
        the object content