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 theObjectused as the subject of this assertion.default voidAsserts thegetSubject()is an instance ofGemFireCacheImpl.default voidAsserts thegetSubject()is an instance ofInternalDistributedSystem.default voidAsserts thegetSubject()is not an instance ofAbstractRegion.default voidAsserts thegetSubject()is not an instance ofGemFireCacheImpl.default voidAsserts thegetSubject()is not an instance ofInternalDistributedSystem.default voidAsserts thesubjectis not null.
-
Method Details
-
getSubject
T getSubject()Returns theObjectused as the subject of this assertion. -
isNotNull
default void isNotNull()Asserts thesubjectis 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.
-