Package org.springframework.geode.util
Interface GeodeAssertions.AssertThat<T>
- Enclosing class:
- GeodeAssertions
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The
GeodeAssertions.AssertThat
interface
defines a contract for making assertion about
a given Object
used as the subject
of the assert statement.-
Method Summary
Modifier and TypeMethodDescriptionReturns theObject
used as the subject of this assertion.default void
Asserts thegetSubject()
is an instance ofGemFireCacheImpl
.default void
Asserts thegetSubject()
is an instance ofInternalDistributedSystem
.default void
Asserts thegetSubject()
is not an instance ofAbstractRegion
.default void
Asserts thegetSubject()
is not an instance ofGemFireCacheImpl
.default void
Asserts thegetSubject()
is not an instance ofInternalDistributedSystem
.default void
Asserts thesubject
is not null.
-
Method Details
-
getSubject
T getSubject()Returns theObject
used as the subject of this assertion. -
isNotNull
default void isNotNull()Asserts thesubject
is not null. -
isInstanceOfGemFireCacheImpl
default void isInstanceOfGemFireCacheImpl()Asserts thegetSubject()
is an instance ofGemFireCacheImpl
. -
isInstanceOfInternalDistributedSystem
default void isInstanceOfInternalDistributedSystem()Asserts thegetSubject()
is an instance ofInternalDistributedSystem
. -
isNotInstanceOfAbstractRegion
default void isNotInstanceOfAbstractRegion()Asserts thegetSubject()
is not an instance ofAbstractRegion
. -
isNotInstanceOfGemFireCacheImpl
default void isNotInstanceOfGemFireCacheImpl()Asserts thegetSubject()
is not an instance ofGemFireCacheImpl
. -
isNotInstanceOfInternalDistributedSystem
default void isNotInstanceOfInternalDistributedSystem()Asserts thegetSubject()
is not an instance ofInternalDistributedSystem
.
-