Class TestConfigAssert
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<TestConfigAssert,TestConfig>
-
- com.snowflake.connectors.common.assertions.configurationRepository.TestConfigAssert
-
- All Implemented Interfaces:
org.assertj.core.api.Assert<TestConfigAssert,TestConfig>
,org.assertj.core.api.Descriptable<TestConfigAssert>
,org.assertj.core.api.ExtensionPoints<TestConfigAssert,TestConfig>
public class TestConfigAssert extends org.assertj.core.api.AbstractAssert<TestConfigAssert,TestConfig>
AssertJ based assertions forTestConfig
.
-
-
Constructor Summary
Constructors Constructor Description TestConfigAssert(TestConfig testConfig, Class<TestConfigAssert> selfType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TestConfigAssert
hasFlag(boolean flag)
Asserts that this config has a flag equal to the specified value.TestConfigAssert
hasIntConfig(int intConfig)
Asserts that this config has an int config equal to the specified value.TestConfigAssert
hasStringConfig(String stringConfig)
Asserts that this config has a string config equal to the specified value.TestConfigAssert
isTestConfigObject()
Asserts that this object is an instance ofTestConfig
.-
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
-
TestConfigAssert
public TestConfigAssert(TestConfig testConfig, Class<TestConfigAssert> selfType)
-
-
Method Detail
-
isTestConfigObject
public TestConfigAssert isTestConfigObject()
Asserts that this object is an instance ofTestConfig
.- Returns:
- this assertion
-
hasFlag
public TestConfigAssert hasFlag(boolean flag)
Asserts that this config has a flag equal to the specified value.- Parameters:
flag
- expected flag- Returns:
- this assertion
-
hasStringConfig
public TestConfigAssert hasStringConfig(String stringConfig)
Asserts that this config has a string config equal to the specified value.- Parameters:
stringConfig
- expected string config- Returns:
- this assertion
-
hasIntConfig
public TestConfigAssert hasIntConfig(int intConfig)
Asserts that this config has an int config equal to the specified value.- Parameters:
intConfig
- expected int config- Returns:
- this assertion
-
-