 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package mocks provides convenience functions for asserting jsonpath expressions
Index ¶
- func Contains(expression string, expected interface{}) spectest.Matcher
- func Equal(expression string, expected interface{}) spectest.Matcher
- func GreaterThan(expression string, minimumLength int) spectest.Matcher
- func Len(expression string, expectedLength int) spectest.Matcher
- func NotEqual(expression string, expected interface{}) spectest.Matcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶
Contains is a convenience function to assert that a jsonpath expression extracts a value in an array
func Equal ¶
Equal is a convenience function to assert that a jsonpath expression matches the given value
func GreaterThan ¶
GreaterThan asserts that value is greater than the given length, determined by reflect.Len
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.