Class ResourceIngestionDefinitionAssert
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<ResourceIngestionDefinitionAssert,com.snowflake.connectors.application.ingestion.definition.ResourceIngestionDefinition<?,?,?,?>>
-
- com.snowflake.connectors.common.assertions.ingestion.definition.ResourceIngestionDefinitionAssert
-
- All Implemented Interfaces:
org.assertj.core.api.Assert<ResourceIngestionDefinitionAssert,com.snowflake.connectors.application.ingestion.definition.ResourceIngestionDefinition<?,?,?,?>>
,org.assertj.core.api.Descriptable<ResourceIngestionDefinitionAssert>
,org.assertj.core.api.ExtensionPoints<ResourceIngestionDefinitionAssert,com.snowflake.connectors.application.ingestion.definition.ResourceIngestionDefinition<?,?,?,?>>
public class ResourceIngestionDefinitionAssert extends org.assertj.core.api.AbstractAssert<ResourceIngestionDefinitionAssert,com.snowflake.connectors.application.ingestion.definition.ResourceIngestionDefinition<?,?,?,?>>
AssertJ based assertions forResourceIngestionDefinition
.
-
-
Constructor Summary
Constructors Constructor Description ResourceIngestionDefinitionAssert(com.snowflake.connectors.application.ingestion.definition.ResourceIngestionDefinition<?,?,?,?> resourceIngestionDefinition, Class<ResourceIngestionDefinitionAssert> selfType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceIngestionDefinitionAssert
hasId(String id)
Asserts that this resource ingestion definition has an id equal to the specified value.ResourceIngestionDefinitionAssert
hasIngestionConfigurations(List<com.snowflake.connectors.application.ingestion.definition.IngestionConfiguration<Variant,Variant>> ingestionConfigurations)
Asserts that this resource ingestion definition has ingestion configurations equal to the specified value.ResourceIngestionDefinitionAssert
hasName(String name)
Asserts that this resource ingestion definition has a name equal to the specified value.ResourceIngestionDefinitionAssert
hasResourceId(Variant resourceId)
Asserts that this resource ingestion definition has a resource id equal to the specified value.ResourceIngestionDefinitionAssert
hasResourceMetadata(Variant resourceMetadata)
Asserts that this resource ingestion definition has a resource metadata equal to the specified value.ResourceIngestionDefinitionAssert
isDisabled()
Asserts that this resource ingestion definition has an enabled state equal to false.ResourceIngestionDefinitionAssert
isEnabled()
Asserts that this resource ingestion definition has an enabled state equal to true.ResourceIngestionDefinitionAssert
isEnabled(boolean enabled)
Asserts that this resource ingestion definition has an enabled state equal to the specified value.-
Methods inherited from class org.assertj.core.api.AbstractAssert
areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
-
-
-
-
Constructor Detail
-
ResourceIngestionDefinitionAssert
public ResourceIngestionDefinitionAssert(com.snowflake.connectors.application.ingestion.definition.ResourceIngestionDefinition<?,?,?,?> resourceIngestionDefinition, Class<ResourceIngestionDefinitionAssert> selfType)
-
-
Method Detail
-
hasId
public ResourceIngestionDefinitionAssert hasId(String id)
Asserts that this resource ingestion definition has an id equal to the specified value.- Parameters:
id
- expected id- Returns:
- this assertion
-
hasResourceId
public ResourceIngestionDefinitionAssert hasResourceId(Variant resourceId)
Asserts that this resource ingestion definition has a resource id equal to the specified value.- Parameters:
resourceId
- expected resource id- Returns:
- this assertion
-
hasName
public ResourceIngestionDefinitionAssert hasName(String name)
Asserts that this resource ingestion definition has a name equal to the specified value.- Parameters:
name
- expected name- Returns:
- this assertion
-
hasResourceMetadata
public ResourceIngestionDefinitionAssert hasResourceMetadata(Variant resourceMetadata)
Asserts that this resource ingestion definition has a resource metadata equal to the specified value.- Parameters:
resourceMetadata
- expected resource metadata- Returns:
- this assertion
-
hasIngestionConfigurations
public ResourceIngestionDefinitionAssert hasIngestionConfigurations(List<com.snowflake.connectors.application.ingestion.definition.IngestionConfiguration<Variant,Variant>> ingestionConfigurations)
Asserts that this resource ingestion definition has ingestion configurations equal to the specified value.- Parameters:
ingestionConfigurations
- expected ingestion configurations- Returns:
- this assertion
-
isEnabled
public ResourceIngestionDefinitionAssert isEnabled(boolean enabled)
Asserts that this resource ingestion definition has an enabled state equal to the specified value.- Parameters:
enabled
- expected enabled state- Returns:
- this assertion
-
isEnabled
public ResourceIngestionDefinitionAssert isEnabled()
Asserts that this resource ingestion definition has an enabled state equal to true.- Returns:
- this assertion
-
isDisabled
public ResourceIngestionDefinitionAssert isDisabled()
Asserts that this resource ingestion definition has an enabled state equal to false.- Returns:
- this assertion
-
-