Kommander
2.0.16
common
kommander-core
/
expect.internal
/
BasicExpectationImpl
Basic
Expectation
Impl
class
BasicExpectationImpl
<
E
>
(
val
value
:
E
)
:
BasicExpectation
<
E
>
Members
Members & Extensions
Constructors
Basic
Expectation
Impl
Link copied to clipboard
constructor
(
value
:
E
)
Functions
to
Be
Link copied to clipboard
open
override
fun
toBe
(
expected
:
E
)
open
override
fun
toBe
(
expected
:
@
UnsafeVariance
E
,
message
:
String
)
to
Be
Link copied to clipboard
inline
fun
<
E
>
BasicExpectation
<
Any
?
>
.
toBe
(
)
:
E
to
Be
Equal
To
Link copied to clipboard
inline
fun
<
E
>
BasicExpectation
<
E
>
.
toBeEqualTo
(
expected
:
E
,
message
:
String
?
=
null
)
to
Be
Greater
Than
Link copied to clipboard
fun
<
T
:
Comparable
<
T
>
>
BasicExpectation
<
T
>
.
toBeGreaterThan
(
expected
:
T
)
to
Be
Greater
Than
Or
Equal
To
Link copied to clipboard
fun
<
T
:
Comparable
<
T
>
>
BasicExpectation
<
T
>
.
toBeGreaterThanOrEqualTo
(
expected
:
T
)
to
Be
Instance
Of
Link copied to clipboard
inline
fun
<
E
>
BasicExpectation
<
Any
?
>
.
toBeInstanceOf
(
message
:
String
?
=
null
)
:
BasicExpectation
<
E
>
to
Be
Less
Than
Link copied to clipboard
fun
<
T
:
Comparable
<
T
>
>
BasicExpectation
<
T
>
.
toBeLessThan
(
expected
:
T
)
to
Be
Less
Than
Or
Equal
To
Link copied to clipboard
fun
<
T
:
Comparable
<
T
>
>
BasicExpectation
<
T
>
.
toBeLessThanOrEqualTo
(
expected
:
T
)
to
Be
Non
Null
Link copied to clipboard
open
override
fun
toBeNonNull
(
)
open
override
fun
toBeNonNull
(
message
:
String
)
to
Be
Null
Link copied to clipboard
open
override
fun
toBeNull
(
)
open
override
fun
toBeNull
(
message
:
String
)
to
Be
Unequal
To
Link copied to clipboard
inline
fun
<
T
>
BasicExpectation
<
T
>
.
toBeUnequalTo
(
expected
:
T
,
message
:
String
?
=
null
)
to
Contain
Link copied to clipboard
inline
fun
BasicExpectation
<
String
?
>
.
toContain
(
other
:
String
,
ignoreCase
:
Boolean
=
true
)
Properties
value
Link copied to clipboard
open
override
val
value
:
E