content: ' #################################################################
  ' ###   brsHamcrest   ###   github.com/imbenjamin/brsHamcrest   ###
  ' #################################################################
  
  
  'Shortcut to assertThat, designed for readability when using existing assertion functions (such as with brstest)
  '
  'Example for brstest:
  't.assertTrue(that(foo, is(aString())))
  '
  '@param target {Dynamic} the target thing to assert against
  '@param matcher {Object<Matcher>} the Matcher to apply to the target object
  '@return {Boolean} result of the Matcher testing against the target object
  function that(target as Dynamic, matcher as Object) as Boolean
      return assertThat(target, matcher)
  end function
  
  
  'Asserts that the given Matcher returns positive against the given value
  '
  'Example:
  'success = assertThat(foo, is(aString()))
  '
  '@param target {Dynamic} the target thing to assert against
  '@param matcher {Object<Matcher>} the Matcher to apply to the target object
  '@return {Boolean} result of the Matcher testing against the target object
  function assertThat(target as Dynamic, matcher as Object) as Boolean
      if (matcher.CLASS_TYPE = "Matcher")
          return matcher.doMatch(target)
      else
          HamcrestError("Type Mismatch: Expected a Matcher")
      end if
  end function
  