Create a type matcher for the given ResultOfATypeInvocation
.
Create a type matcher for the given ResultOfATypeInvocation
.
an instance of ResultOfATypeInvocation
a type Matcher
Create a type matcher for the given ResultOfAnTypeInvocation
.
Create a type matcher for the given ResultOfAnTypeInvocation
.
an instance of ResultOfAnTypeInvocation
a type Matcher
Check if the given left
is an instance of the type as described in the given ResultOfATypeInvocation
.
Check if the given left
is an instance of the type as described in the given ResultOfATypeInvocation
.
A TestFailedException
will be thrown if left
is not an instance of the type given by ResultOfATypeInvocation
.
the left-hand-side (LHS) to be checked for the type
an instance of ResultOfATypeInvocation
Based on shouldBeTrue
value, check if the given left
is an instance of the type as described in the given ResultOfATypeInvocation
.
Based on shouldBeTrue
value, check if the given left
is an instance of the type as described in the given ResultOfATypeInvocation
.
If shouldBeTrue
is true, a TestFailedException
will be thrown if left
is not an instance of the type given by ResultOfATypeInvocation
.
If shouldBeTrue
is false, a TestFailedException
will be thrown if left
is an instance of the type given by ResultOfATypeInvocation
.
the left-hand-side (LHS) to be checked for the type
an instance of ResultOfATypeInvocation
Check if the given left
is an instance of the type as described in the given ResultOfAnTypeInvocation
.
Check if the given left
is an instance of the type as described in the given ResultOfAnTypeInvocation
.
A TestFailedException
will be thrown if left
is not an instance of the type given by ResultOfAnTypeInvocation
.
the left-hand-side (LHS) to be checked for the type
an instance of ResultOfAnTypeInvocation
Based on shouldBeTrue
value, check if the given left
is an instance of the type as described in the given ResultOfAnTypeInvocation
.
Based on shouldBeTrue
value, check if the given left
is an instance of the type as described in the given ResultOfAnTypeInvocation
.
If shouldBeTrue
is true, a TestFailedException
will be thrown if left
is not an instance of the type given by ResultOfAnTypeInvocation
.
If shouldBeTrue
is false, a TestFailedException
will be thrown if left
is an instance of the type given by ResultOfAnTypeInvocation
.
the left-hand-side (LHS) to be checked for the type
an instance of ResultOfAnTypeInvocation
Create a negated type matcher for the given ResultOfATypeInvocation
.
Create a negated type matcher for the given ResultOfATypeInvocation
.
an instance of ResultOfATypeInvocation
a negated type Matcher
Create a negated type matcher for the given ResultOfAnTypeInvocation
.
Create a negated type matcher for the given ResultOfAnTypeInvocation
.
an instance of ResultOfAnTypeInvocation
a negated type Matcher
TypeMatcherHelper
is called byTypeMatcherMacro
to supporta [Type]
andan [Type]
syntax.This object needs to be public so that the macro-generated code can be compiled. It is expected that ScalaTest users would ever need to use
TypeMatcherHelper
directly.