diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index fadd459..37e1a62 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @pivovarit @mchmielarz +* @mchmielarz diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c00ad7e..63a636d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [ '8', '11', '15', '16', '17' ] + java: [ '11', '17', '19', '20' ] architecture: [ 'x64' ] name: Build with JDK ${{ matrix.java }} on ${{ matrix.architecture }} steps: diff --git a/pom.xml b/pom.xml index e48df48..599dfc2 100644 --- a/pom.xml +++ b/pom.xml @@ -161,6 +161,17 @@ + + com.mycila + license-maven-plugin + + + + 2023 + + + + org.apache.maven.plugins maven-surefire-plugin diff --git a/src/main/java/org/assertj/vavr/api/AbstractEitherAssert.java b/src/main/java/org/assertj/vavr/api/AbstractEitherAssert.java index a512ca7..87aac20 100644 --- a/src/main/java/org/assertj/vavr/api/AbstractEitherAssert.java +++ b/src/main/java/org/assertj/vavr/api/AbstractEitherAssert.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/AbstractLazyAssert.java b/src/main/java/org/assertj/vavr/api/AbstractLazyAssert.java index 8bbe50a..978efaf 100644 --- a/src/main/java/org/assertj/vavr/api/AbstractLazyAssert.java +++ b/src/main/java/org/assertj/vavr/api/AbstractLazyAssert.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/AbstractMapAssert.java b/src/main/java/org/assertj/vavr/api/AbstractMapAssert.java index 5c96bd0..8222077 100644 --- a/src/main/java/org/assertj/vavr/api/AbstractMapAssert.java +++ b/src/main/java/org/assertj/vavr/api/AbstractMapAssert.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/AbstractMultimapAssert.java b/src/main/java/org/assertj/vavr/api/AbstractMultimapAssert.java index 1fb6904..50ffb17 100644 --- a/src/main/java/org/assertj/vavr/api/AbstractMultimapAssert.java +++ b/src/main/java/org/assertj/vavr/api/AbstractMultimapAssert.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/AbstractOptionAssert.java b/src/main/java/org/assertj/vavr/api/AbstractOptionAssert.java index a79b825..fdee865 100644 --- a/src/main/java/org/assertj/vavr/api/AbstractOptionAssert.java +++ b/src/main/java/org/assertj/vavr/api/AbstractOptionAssert.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/AbstractSeqAssert.java b/src/main/java/org/assertj/vavr/api/AbstractSeqAssert.java index bc8d763..be98a5b 100644 --- a/src/main/java/org/assertj/vavr/api/AbstractSeqAssert.java +++ b/src/main/java/org/assertj/vavr/api/AbstractSeqAssert.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; @@ -19,7 +19,6 @@ import org.assertj.core.data.Index; import org.assertj.core.internal.ComparatorBasedComparisonStrategy; import org.assertj.core.internal.ComparisonStrategy; -import org.assertj.core.internal.Iterables; import org.assertj.core.internal.StandardComparisonStrategy; import org.assertj.core.util.CheckReturnValue; @@ -27,7 +26,6 @@ import java.util.function.Consumer; import static java.lang.String.format; -import static java.util.Objects.requireNonNull; import static org.assertj.core.error.ShouldBeSorted.shouldHaveComparableElementsAccordingToGivenComparator; import static org.assertj.core.error.ShouldContainAtIndex.shouldContainAtIndex; import static org.assertj.core.error.ShouldNotBeEmpty.shouldNotBeEmpty; @@ -68,7 +66,6 @@ abstract class AbstractSeqAssert customComparator) { - this.iterables = new Iterables(new ComparatorBasedComparisonStrategy(customComparator)); seqElementComparisonStrategy = new ComparatorBasedComparisonStrategy(customComparator); return myself; } @@ -328,7 +325,7 @@ private void assertIsSortedAccordingToComparator(Comparator comparator) { private void assertConditionIsMetAtIndex(Condition condition, Index index, Runnable errorProvider) { isNotNull(); - requireNonNull(condition, "The condition to evaluate should not be null"); + checkNotNull(condition, "The condition to evaluate should not be null"); assertNotEmpty(); assertIndexIsValid(index); diff --git a/src/main/java/org/assertj/vavr/api/AbstractSetAssert.java b/src/main/java/org/assertj/vavr/api/AbstractSetAssert.java index d16626c..5547bb5 100644 --- a/src/main/java/org/assertj/vavr/api/AbstractSetAssert.java +++ b/src/main/java/org/assertj/vavr/api/AbstractSetAssert.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; @@ -16,8 +16,6 @@ import org.assertj.core.api.AbstractAssert; import org.assertj.core.api.EnumerableAssert; -import java.util.Comparator; - abstract class AbstractSetAssert, ACTUAL extends Set, ELEMENT, diff --git a/src/main/java/org/assertj/vavr/api/AbstractTraversableAssert.java b/src/main/java/org/assertj/vavr/api/AbstractTraversableAssert.java index d6ebd69..9194549 100644 --- a/src/main/java/org/assertj/vavr/api/AbstractTraversableAssert.java +++ b/src/main/java/org/assertj/vavr/api/AbstractTraversableAssert.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/AbstractTryAssert.java b/src/main/java/org/assertj/vavr/api/AbstractTryAssert.java index 9e95931..4283c14 100644 --- a/src/main/java/org/assertj/vavr/api/AbstractTryAssert.java +++ b/src/main/java/org/assertj/vavr/api/AbstractTryAssert.java @@ -8,12 +8,11 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; import io.vavr.control.Try; -import org.assertj.core.api.Assertions; import org.assertj.core.api.Condition; import org.assertj.core.internal.*; import org.assertj.core.util.CheckReturnValue; @@ -40,7 +39,7 @@ abstract class AbstractTryAssert, VALUE> extends AbstractValueAssert> { - private Conditions conditions = Conditions.instance(); + private final Conditions conditions = Conditions.instance(); private ComparisonStrategy tryValueComparisonStrategy; @@ -90,6 +89,9 @@ public SELF contains(VALUE expectedValue) { * * @param requirement to further assert on the object contained inside the {@link io.vavr.control.Try}. * @return this assertion object. + * @throws AssertionError if the actual {@link io.vavr.control.Try} is null or empty. + * @throws NullPointerException if the given condition is {@code null}. + * @throws AssertionError if the actual value does not satisfy the given condition. */ public SELF hasValueSatisfying(Consumer requirement) { assertIsSuccess(); @@ -98,11 +100,11 @@ public SELF hasValueSatisfying(Consumer requirement) { } /** - * Verifies that the actual {@link Try} contains a value which satisfies the given {@link Condition}. + * Verifies that the actual {@link io.vavr.control.Try} contains a value which satisfies the given {@link org.assertj.core.api.Condition}. * * @param condition the given condition. * @return this assertion object. - * @throws AssertionError if the actual {@link Try} is null or empty. + * @throws AssertionError if the actual {@link io.vavr.control.Try} is null or empty. * @throws NullPointerException if the given condition is {@code null}. * @throws AssertionError if the actual value does not satisfy the given condition. */ @@ -113,9 +115,9 @@ public SELF hasValueSatisfying(Condition condition) { } /** - * Verifies that the actual {@link Try} contains a value that is an instance of the argument. + * Verifies that the actual {@link io.vavr.control.Try} contains a value that is an instance of the argument. * - * @param clazz the expected class of the value inside the {@link Try}. + * @param clazz the expected class of the value inside the {@link io.vavr.control.Try}. * @return this assertion object. */ public SELF containsInstanceOf(Class clazz) { @@ -126,9 +128,9 @@ public SELF containsInstanceOf(Class clazz) { /** * Use field/property by field/property comparison (including inherited fields/properties) instead of relying on - * actual type A equals method to compare the {@link Try} value's object for incoming assertion + * actual type A equals method to compare the {@link io.vavr.control.Try} value's object for incoming assertion * checks. Private fields are included but this can be disabled using - * {@link Assertions#setAllowExtractingPrivateFields(boolean)}. + * {@link org.assertj.core.api.Assertions#setAllowExtractingPrivateFields(boolean)}. * * @return {@code this} assertion object. */ @@ -139,7 +141,7 @@ public SELF usingFieldByFieldValueComparator() { /** * Use given custom comparator instead of relying on actual type A equals method to compare the - * {@link Try} value's object for incoming assertion checks. + * {@link io.vavr.control.Try} value's object for incoming assertion checks. * * @param customComparator the comparator to use for incoming assertion checks. * @return {@code this} assertion object. @@ -152,7 +154,7 @@ public SELF usingValueComparator(Comparator customComparator) { } /** - * Revert to standard comparison for incoming assertion {@link Try} value checks. + * Revert to standard comparison for incoming assertion {@link io.vavr.control.Try} value checks. *

* This method should be used to disable a custom comparison strategy set by calling * {@link #usingValueComparator(Comparator)}. @@ -180,13 +182,13 @@ public SELF containsSame(VALUE expectedValue) { } /** - * Call {@link Try#flatMap(Function) flatMap} on the {@code Try} under test, assertions chained afterwards are performed on the {@code Try} resulting from the flatMap call. + * Call {@link io.vavr.control.Try#flatMap(Function) flatMap} on the {@code Try} under test, assertions chained afterward are performed on the {@code Try} resulting from the flatMap call. * - * @param type of a value contained by successful {@link Try} created by {@code mapper} function - * @param mapper the {@link Function} to use in the {@link Try#flatMap(Function) flatMap} operation. + * @param type of value contained by successful {@link io.vavr.control.Try} created by {@code mapper} function + * @param mapper the {@link java.util.function.Function} to use in the {@link io.vavr.control.Try#flatMap(Function) flatMap} operation. * * @return a new {@link org.assertj.vavr.api.AbstractTryAssert} for assertions chaining on the flatMap of the Try. - * @throws AssertionError if the actual {@link Try} is null. + * @throws AssertionError if the actual {@link io.vavr.control.Try} is null. */ @CheckReturnValue public AbstractTryAssert flatMap(Function> mapper) { @@ -195,13 +197,13 @@ public AbstractTryAssert flatMap(Function> mappe } /** - * Call {@link Try#map(Function) map} on the {@code Try} under test, assertions chained afterwards are performed on the {@code Try} resulting from the map call. + * Call {@link io.vavr.control.Try#map(Function) map} on the {@code Try} under test, assertions chained afterward are performed on the {@code Try} resulting from the map call. * - * @param type of a value created by {@code mapper} function - * @param mapper the {@link Function} to use in the {@link Try#map(Function) map} operation. + * @param type of value created by {@code mapper} function + * @param mapper the {@link java.util.function.Function} to use in the {@link io.vavr.control.Try#map(Function) map} operation. * * @return a new {@link org.assertj.vavr.api.AbstractTryAssert} for assertions chaining on the map of the Try. - * @throws AssertionError if the actual {@link Try} is null. + * @throws AssertionError if the actual {@link io.vavr.control.Try} is null. */ @CheckReturnValue public AbstractTryAssert map(Function mapper) { @@ -210,9 +212,9 @@ public AbstractTryAssert map(Function mapp } /** - * Verifies that the actual {@link Try} fails because of specific {@link Throwable}. + * Verifies that the actual {@link io.vavr.control.Try} fails because of specific {@link java.lang.Throwable}. * - * @param specific type of {@link Throwable} + * @param specific type of {@link java.lang.Throwable} * @param reason the expected exception class. * * @return this assertion object. diff --git a/src/main/java/org/assertj/vavr/api/AbstractValidationAssert.java b/src/main/java/org/assertj/vavr/api/AbstractValidationAssert.java index 13b7214..d0eabf9 100644 --- a/src/main/java/org/assertj/vavr/api/AbstractValidationAssert.java +++ b/src/main/java/org/assertj/vavr/api/AbstractValidationAssert.java @@ -8,19 +8,21 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; import io.vavr.control.Validation; -import org.assertj.core.api.Assertions; +import org.assertj.core.api.Condition; import org.assertj.core.internal.ComparatorBasedComparisonStrategy; import org.assertj.core.internal.ComparisonStrategy; +import org.assertj.core.internal.Conditions; import org.assertj.core.internal.FieldByFieldComparator; import org.assertj.core.internal.StandardComparisonStrategy; import org.assertj.core.util.CheckReturnValue; import java.util.Comparator; +import java.util.function.Consumer; import static org.assertj.core.util.Preconditions.checkArgument; import static org.assertj.vavr.api.ValidationShouldBeInvalid.shouldBeInvalid; @@ -30,16 +32,18 @@ import static org.assertj.vavr.api.ValidationShouldContainInstanceOf.shouldContainValidInstanceOf; /** - * Assertions for {@link Validation}. + * Assertions for {@link io.vavr.control.Validation}. * * @param the "self" type of this assertion class. - * @param type of the value in the case of the invalid {@link Validation}. - * @param type of the value in the case of the valid {@link Validation}. + * @param type of the value in the case of the invalid {@link io.vavr.control.Validation}. + * @param type of the value in the case of the valid {@link io.vavr.control.Validation}. * @author Michał Chmielarz */ abstract class AbstractValidationAssert, INVALID, VALID> extends AbstractValueAssert> { + private final Conditions conditions = Conditions.instance(); + private ComparisonStrategy validationValueComparisonStrategy; AbstractValidationAssert(Validation actual, Class selfType) { @@ -48,7 +52,7 @@ abstract class AbstractValidationAssert clazz) { @@ -137,9 +141,9 @@ public SELF containsValidInstanceOf(Class clazz) { } /** - * Verifies that the actual invalid {@link Validation} contains a value that is an instance of the argument. + * Verifies that the actual invalid {@link io.vavr.control.Validation} contains a value that is an instance of the argument. * - * @param clazz the expected class of the value inside the invalid {@link Validation}. + * @param clazz the expected class of the value inside the invalid {@link io.vavr.control.Validation}. * @return this assertion object. */ public SELF containsInvalidInstanceOf(Class clazz) { @@ -149,13 +153,77 @@ public SELF containsInvalidInstanceOf(Class clazz) { return myself; } + /** + * Verifies that the actual {@link io.vavr.control.Validation} contains a valid value and gives this value to the given + * {@link java.util.function.Consumer} for further assertions. Should be used as a way of deeper asserting on the + * containing object, as further requirement(s) for the value. + * + * @param requirement to further assert on the object contained inside the {@link io.vavr.control.Validation}. + * @return this assertion object. + * @throws AssertionError if the actual {@link io.vavr.control.Validation} is null or invalid. + * @throws NullPointerException if the given requirement is {@code null}. + * @throws AssertionError if the actual value does not satisfy the given requirement. + */ + public SELF containsValidSatisfying(Consumer requirement) { + assertIsValid(); + requirement.accept(actual.get()); + return myself; + } + + /** + * Verifies that the actual {@link io.vavr.control.Validation} contains a valid value which satisfies the given {@link org.assertj.core.api.Condition}. + * + * @param condition the given condition. + * @return this assertion object. + * @throws AssertionError if the actual {@link io.vavr.control.Validation} is null or invalid. + * @throws NullPointerException if the given condition is {@code null}. + * @throws AssertionError if the actual value does not satisfy the given condition. + */ + public SELF containsValidSatisfying(Condition condition) { + assertIsValid(); + conditions.assertIs(info, actual.get(), condition); + return myself; + } + + /** + * Verifies that the actual {@link io.vavr.control.Validation} contains an invalid value and gives this value to the given + * {@link java.util.function.Consumer} for further assertions. Should be used as a way of deeper asserting on the + * containing object, as further requirement(s) for the value. + * + * @param requirement to further assert on the object contained inside the {@link io.vavr.control.Validation}. + * @return this assertion object. + * @throws AssertionError if the actual {@link io.vavr.control.Validation} is null or valid. + * @throws NullPointerException if the given requirement is {@code null}. + * @throws AssertionError if the actual value does not satisfy the given requirement. + */ + public SELF containsInvalidSatisfying(Consumer requirement) { + assertIsInvalid(); + requirement.accept(actual.getError()); + return myself; + } + + /** + * Verifies that the actual {@link io.vavr.control.Validation} contains an invalid value which satisfies the given {@link org.assertj.core.api.Condition}. + * + * @param condition the given condition. + * @return this assertion object. + * @throws AssertionError if the actual {@link io.vavr.control.Validation} is null or valid. + * @throws NullPointerException if the given condition is {@code null}. + * @throws AssertionError if the actual value does not satisfy the given condition. + */ + public SELF containsInvalidSatisfying(Condition condition) { + assertIsInvalid(); + conditions.assertIs(info, actual.getError(), condition); + return myself; + } + /** * Use given custom comparator instead of relying on actual type A equals method to compare the - * {@link Validation} value's object for incoming assertion checks. + * {@link io.vavr.control.Validation} value's object for incoming assertion checks. * * @param customComparator the comparator to use for incoming assertion checks. * @return {@code this} assertion object. - * @throws NullPointerException if the given comparator is {@code null}. + * @throws NullPointerException if the given customComparator is {@code null}. */ @CheckReturnValue public SELF usingValueComparator(Comparator customComparator) { @@ -165,9 +233,9 @@ public SELF usingValueComparator(Comparator customComparator) { /** * Use field/property by field/property comparison (including inherited fields/properties) instead of relying on - * actual type A equals method to compare the {@link Validation} value's object for incoming assertion + * actual type A equals method to compare the {@link io.vavr.control.Validation} value's object for incoming assertion * checks. Private fields are included but this can be disabled using - * {@link Assertions#setAllowExtractingPrivateFields(boolean)}. + * {@link org.assertj.core.api.Assertions#setAllowExtractingPrivateFields(boolean)}. * * @return {@code this} assertion object. */ @@ -177,7 +245,7 @@ public SELF usingFieldByFieldValueComparator() { } /** - * Revert to standard comparison for incoming assertion {@link Validation} value checks. + * Revert to standard comparison for incoming assertion {@link io.vavr.control.Validation} value checks. *

* This method should be used to disable a custom comparison strategy set by calling * {@link #usingValueComparator(Comparator)}. diff --git a/src/main/java/org/assertj/vavr/api/AbstractValueAssert.java b/src/main/java/org/assertj/vavr/api/AbstractValueAssert.java index dc04f3e..a1c0c78 100644 --- a/src/main/java/org/assertj/vavr/api/AbstractValueAssert.java +++ b/src/main/java/org/assertj/vavr/api/AbstractValueAssert.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/AbstractVavrAssert.java b/src/main/java/org/assertj/vavr/api/AbstractVavrAssert.java index ce76dbc..a97fbe6 100644 --- a/src/main/java/org/assertj/vavr/api/AbstractVavrAssert.java +++ b/src/main/java/org/assertj/vavr/api/AbstractVavrAssert.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/ClassLoadingStrategyFactory.java b/src/main/java/org/assertj/vavr/api/ClassLoadingStrategyFactory.java index d97c1d5..39f2710 100644 --- a/src/main/java/org/assertj/vavr/api/ClassLoadingStrategyFactory.java +++ b/src/main/java/org/assertj/vavr/api/ClassLoadingStrategyFactory.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/EitherAssert.java b/src/main/java/org/assertj/vavr/api/EitherAssert.java index 2fc5337..0b9c1d6 100644 --- a/src/main/java/org/assertj/vavr/api/EitherAssert.java +++ b/src/main/java/org/assertj/vavr/api/EitherAssert.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/EitherShouldBeLeft.java b/src/main/java/org/assertj/vavr/api/EitherShouldBeLeft.java index 59a292c..d972395 100644 --- a/src/main/java/org/assertj/vavr/api/EitherShouldBeLeft.java +++ b/src/main/java/org/assertj/vavr/api/EitherShouldBeLeft.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/EitherShouldBeRight.java b/src/main/java/org/assertj/vavr/api/EitherShouldBeRight.java index 1840e66..31b6aaa 100644 --- a/src/main/java/org/assertj/vavr/api/EitherShouldBeRight.java +++ b/src/main/java/org/assertj/vavr/api/EitherShouldBeRight.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/EitherShouldContain.java b/src/main/java/org/assertj/vavr/api/EitherShouldContain.java index 7869887..74b1197 100644 --- a/src/main/java/org/assertj/vavr/api/EitherShouldContain.java +++ b/src/main/java/org/assertj/vavr/api/EitherShouldContain.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/EitherShouldContainInstanceOf.java b/src/main/java/org/assertj/vavr/api/EitherShouldContainInstanceOf.java index f8be932..8e4dd43 100644 --- a/src/main/java/org/assertj/vavr/api/EitherShouldContainInstanceOf.java +++ b/src/main/java/org/assertj/vavr/api/EitherShouldContainInstanceOf.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/LazyAssert.java b/src/main/java/org/assertj/vavr/api/LazyAssert.java index 45f30ad..f3c0791 100644 --- a/src/main/java/org/assertj/vavr/api/LazyAssert.java +++ b/src/main/java/org/assertj/vavr/api/LazyAssert.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; @@ -23,4 +23,4 @@ public class LazyAssert extends AbstractLazyAssert, VAL LazyAssert(Lazy actual) { super(actual, LazyAssert.class); } -} \ No newline at end of file +} diff --git a/src/main/java/org/assertj/vavr/api/LazyShouldBeEvaluated.java b/src/main/java/org/assertj/vavr/api/LazyShouldBeEvaluated.java index f930223..4612562 100644 --- a/src/main/java/org/assertj/vavr/api/LazyShouldBeEvaluated.java +++ b/src/main/java/org/assertj/vavr/api/LazyShouldBeEvaluated.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/LazyShouldBeNotEvaluated.java b/src/main/java/org/assertj/vavr/api/LazyShouldBeNotEvaluated.java index ada4289..85e16c7 100644 --- a/src/main/java/org/assertj/vavr/api/LazyShouldBeNotEvaluated.java +++ b/src/main/java/org/assertj/vavr/api/LazyShouldBeNotEvaluated.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/MapAssert.java b/src/main/java/org/assertj/vavr/api/MapAssert.java index c89f7a8..ac84c8d 100644 --- a/src/main/java/org/assertj/vavr/api/MapAssert.java +++ b/src/main/java/org/assertj/vavr/api/MapAssert.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/MultimapAssert.java b/src/main/java/org/assertj/vavr/api/MultimapAssert.java index a6f4b17..2b28e04 100644 --- a/src/main/java/org/assertj/vavr/api/MultimapAssert.java +++ b/src/main/java/org/assertj/vavr/api/MultimapAssert.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/OptionAssert.java b/src/main/java/org/assertj/vavr/api/OptionAssert.java index f1feb7e..cab345a 100644 --- a/src/main/java/org/assertj/vavr/api/OptionAssert.java +++ b/src/main/java/org/assertj/vavr/api/OptionAssert.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/OptionShouldBeEmpty.java b/src/main/java/org/assertj/vavr/api/OptionShouldBeEmpty.java index 039088f..32c813d 100644 --- a/src/main/java/org/assertj/vavr/api/OptionShouldBeEmpty.java +++ b/src/main/java/org/assertj/vavr/api/OptionShouldBeEmpty.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/OptionShouldBePresent.java b/src/main/java/org/assertj/vavr/api/OptionShouldBePresent.java index 794a6ad..facd43a 100644 --- a/src/main/java/org/assertj/vavr/api/OptionShouldBePresent.java +++ b/src/main/java/org/assertj/vavr/api/OptionShouldBePresent.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/OptionShouldContain.java b/src/main/java/org/assertj/vavr/api/OptionShouldContain.java index 44ad526..99df5c9 100644 --- a/src/main/java/org/assertj/vavr/api/OptionShouldContain.java +++ b/src/main/java/org/assertj/vavr/api/OptionShouldContain.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/OptionShouldContainInstanceOf.java b/src/main/java/org/assertj/vavr/api/OptionShouldContainInstanceOf.java index 1187ef7..e3d2fc2 100644 --- a/src/main/java/org/assertj/vavr/api/OptionShouldContainInstanceOf.java +++ b/src/main/java/org/assertj/vavr/api/OptionShouldContainInstanceOf.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/SeqAssert.java b/src/main/java/org/assertj/vavr/api/SeqAssert.java index 92b8359..219b841 100644 --- a/src/main/java/org/assertj/vavr/api/SeqAssert.java +++ b/src/main/java/org/assertj/vavr/api/SeqAssert.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/SeqShouldBeAtIndex.java b/src/main/java/org/assertj/vavr/api/SeqShouldBeAtIndex.java index 8d8b403..89c589e 100644 --- a/src/main/java/org/assertj/vavr/api/SeqShouldBeAtIndex.java +++ b/src/main/java/org/assertj/vavr/api/SeqShouldBeAtIndex.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/SeqShouldBeSorted.java b/src/main/java/org/assertj/vavr/api/SeqShouldBeSorted.java index 0cc309a..8bf2d2c 100644 --- a/src/main/java/org/assertj/vavr/api/SeqShouldBeSorted.java +++ b/src/main/java/org/assertj/vavr/api/SeqShouldBeSorted.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/SeqShouldHaveAtIndex.java b/src/main/java/org/assertj/vavr/api/SeqShouldHaveAtIndex.java index e06b0f4..e6a50b3 100644 --- a/src/main/java/org/assertj/vavr/api/SeqShouldHaveAtIndex.java +++ b/src/main/java/org/assertj/vavr/api/SeqShouldHaveAtIndex.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; @@ -33,4 +33,4 @@ private SeqShouldHaveAtIndex(Seq actual, Condition c static ErrorMessageFactory shouldHaveAtIndex(Seq actual, Condition condition, Index index, T found) { return new SeqShouldHaveAtIndex(actual, condition, index, found); } -} \ No newline at end of file +} diff --git a/src/main/java/org/assertj/vavr/api/SetAssert.java b/src/main/java/org/assertj/vavr/api/SetAssert.java index e47676e..1be3c0c 100644 --- a/src/main/java/org/assertj/vavr/api/SetAssert.java +++ b/src/main/java/org/assertj/vavr/api/SetAssert.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/ShouldNotContainValues.java b/src/main/java/org/assertj/vavr/api/ShouldNotContainValues.java index 8a4608b..a71f5b9 100644 --- a/src/main/java/org/assertj/vavr/api/ShouldNotContainValues.java +++ b/src/main/java/org/assertj/vavr/api/ShouldNotContainValues.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; @@ -17,7 +17,7 @@ /** * Creates an error message indicating that an assertion that verifies a map does not contain values. - * + * * @author Michał Chmielarz */ public class ShouldNotContainValues extends BasicErrorMessageFactory { @@ -35,4 +35,4 @@ public static ErrorMessageFactory shouldNotContainValues(Object actual, Object v private ShouldNotContainValues(Object actual, Object values) { super("%nExpecting:%n <%s>%nnot to contain values:%n <%s>", actual, values); } -} \ No newline at end of file +} diff --git a/src/main/java/org/assertj/vavr/api/TryAssert.java b/src/main/java/org/assertj/vavr/api/TryAssert.java index 7cad403..036bd0f 100644 --- a/src/main/java/org/assertj/vavr/api/TryAssert.java +++ b/src/main/java/org/assertj/vavr/api/TryAssert.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; @@ -24,4 +24,4 @@ public class TryAssert extends AbstractTryAssert, VALUE> TryAssert(Try actual) { super(actual, TryAssert.class); } -} \ No newline at end of file +} diff --git a/src/main/java/org/assertj/vavr/api/TryShouldBeFailure.java b/src/main/java/org/assertj/vavr/api/TryShouldBeFailure.java index a906bf3..11aaeb3 100644 --- a/src/main/java/org/assertj/vavr/api/TryShouldBeFailure.java +++ b/src/main/java/org/assertj/vavr/api/TryShouldBeFailure.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/TryShouldBeSuccess.java b/src/main/java/org/assertj/vavr/api/TryShouldBeSuccess.java index ed372a8..ec5541d 100644 --- a/src/main/java/org/assertj/vavr/api/TryShouldBeSuccess.java +++ b/src/main/java/org/assertj/vavr/api/TryShouldBeSuccess.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/TryShouldContain.java b/src/main/java/org/assertj/vavr/api/TryShouldContain.java index 8e30f2f..b3690e2 100644 --- a/src/main/java/org/assertj/vavr/api/TryShouldContain.java +++ b/src/main/java/org/assertj/vavr/api/TryShouldContain.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/TryShouldContainInstanceOf.java b/src/main/java/org/assertj/vavr/api/TryShouldContainInstanceOf.java index d2852e8..71a86f9 100644 --- a/src/main/java/org/assertj/vavr/api/TryShouldContainInstanceOf.java +++ b/src/main/java/org/assertj/vavr/api/TryShouldContainInstanceOf.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/ValidationAssert.java b/src/main/java/org/assertj/vavr/api/ValidationAssert.java index fedffe7..e27ecb7 100644 --- a/src/main/java/org/assertj/vavr/api/ValidationAssert.java +++ b/src/main/java/org/assertj/vavr/api/ValidationAssert.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/ValidationShouldBeInvalid.java b/src/main/java/org/assertj/vavr/api/ValidationShouldBeInvalid.java index 81b64bd..4809dcc 100644 --- a/src/main/java/org/assertj/vavr/api/ValidationShouldBeInvalid.java +++ b/src/main/java/org/assertj/vavr/api/ValidationShouldBeInvalid.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/ValidationShouldBeValid.java b/src/main/java/org/assertj/vavr/api/ValidationShouldBeValid.java index 0d04c19..895eec0 100644 --- a/src/main/java/org/assertj/vavr/api/ValidationShouldBeValid.java +++ b/src/main/java/org/assertj/vavr/api/ValidationShouldBeValid.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/ValidationShouldContain.java b/src/main/java/org/assertj/vavr/api/ValidationShouldContain.java index 1719437..39a501e 100644 --- a/src/main/java/org/assertj/vavr/api/ValidationShouldContain.java +++ b/src/main/java/org/assertj/vavr/api/ValidationShouldContain.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/ValidationShouldContainInstanceOf.java b/src/main/java/org/assertj/vavr/api/ValidationShouldContainInstanceOf.java index 7ed878f..2942979 100644 --- a/src/main/java/org/assertj/vavr/api/ValidationShouldContainInstanceOf.java +++ b/src/main/java/org/assertj/vavr/api/ValidationShouldContainInstanceOf.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/VavrAssertions.java b/src/main/java/org/assertj/vavr/api/VavrAssertions.java index cf76fd5..2bdc775 100644 --- a/src/main/java/org/assertj/vavr/api/VavrAssertions.java +++ b/src/main/java/org/assertj/vavr/api/VavrAssertions.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/VavrAssumptions.java b/src/main/java/org/assertj/vavr/api/VavrAssumptions.java index bff004d..ccd2519 100644 --- a/src/main/java/org/assertj/vavr/api/VavrAssumptions.java +++ b/src/main/java/org/assertj/vavr/api/VavrAssumptions.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/main/java/org/assertj/vavr/api/soft/AutoCloseableSoftVavrAssertions.java b/src/main/java/org/assertj/vavr/api/soft/AutoCloseableSoftVavrAssertions.java index 7156366..3639c26 100644 --- a/src/main/java/org/assertj/vavr/api/soft/AutoCloseableSoftVavrAssertions.java +++ b/src/main/java/org/assertj/vavr/api/soft/AutoCloseableSoftVavrAssertions.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api.soft; diff --git a/src/main/java/org/assertj/vavr/api/soft/JUnitSoftVavrAssertions.java b/src/main/java/org/assertj/vavr/api/soft/JUnitSoftVavrAssertions.java index 2eda69e..317a393 100644 --- a/src/main/java/org/assertj/vavr/api/soft/JUnitSoftVavrAssertions.java +++ b/src/main/java/org/assertj/vavr/api/soft/JUnitSoftVavrAssertions.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api.soft; @@ -34,4 +34,4 @@ * Second, the failures are recognized by IDE's (like IntelliJ IDEA) which open a comparison window. */ public class JUnitSoftVavrAssertions extends AbstractSoftAssertions implements StandardSoftVavrAssertionsProvider, SoftAssertionsRule { -} \ No newline at end of file +} diff --git a/src/main/java/org/assertj/vavr/api/soft/SoftVavrAssertions.java b/src/main/java/org/assertj/vavr/api/soft/SoftVavrAssertions.java index 63b19e2..1be779f 100644 --- a/src/main/java/org/assertj/vavr/api/soft/SoftVavrAssertions.java +++ b/src/main/java/org/assertj/vavr/api/soft/SoftVavrAssertions.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api.soft; diff --git a/src/main/java/org/assertj/vavr/api/soft/StandardSoftVavrAssertionsProvider.java b/src/main/java/org/assertj/vavr/api/soft/StandardSoftVavrAssertionsProvider.java index ccf107e..9eb193b 100644 --- a/src/main/java/org/assertj/vavr/api/soft/StandardSoftVavrAssertionsProvider.java +++ b/src/main/java/org/assertj/vavr/api/soft/StandardSoftVavrAssertionsProvider.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api.soft; diff --git a/src/main/java/org/assertj/vavr/internal/Maps.java b/src/main/java/org/assertj/vavr/internal/Maps.java index d476486..f795043 100644 --- a/src/main/java/org/assertj/vavr/internal/Maps.java +++ b/src/main/java/org/assertj/vavr/internal/Maps.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.internal; diff --git a/src/main/java/org/assertj/vavr/internal/Multimaps.java b/src/main/java/org/assertj/vavr/internal/Multimaps.java index b6be6de..ef8e972 100644 --- a/src/main/java/org/assertj/vavr/internal/Multimaps.java +++ b/src/main/java/org/assertj/vavr/internal/Multimaps.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.internal; diff --git a/src/test/java/org/assertj/vavr/api/AssumptionRunner.java b/src/test/java/org/assertj/vavr/api/AssumptionRunner.java index 6f451f2..eae9c79 100644 --- a/src/test/java/org/assertj/vavr/api/AssumptionRunner.java +++ b/src/test/java/org/assertj/vavr/api/AssumptionRunner.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; @@ -27,4 +27,4 @@ abstract class AssumptionRunner { protected abstract void runFailingAssumption(); protected abstract void runPassingAssumption(); -} \ No newline at end of file +} diff --git a/src/test/java/org/assertj/vavr/api/BaseAssumptionRunner.java b/src/test/java/org/assertj/vavr/api/BaseAssumptionRunner.java index 6c470cb..750e21f 100644 --- a/src/test/java/org/assertj/vavr/api/BaseAssumptionRunner.java +++ b/src/test/java/org/assertj/vavr/api/BaseAssumptionRunner.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; @@ -44,4 +44,4 @@ protected void runPassingAssumption() { passingAssumption.accept(actual); } -} \ No newline at end of file +} diff --git a/src/test/java/org/assertj/vavr/api/BaseAssumptionsTest.java b/src/test/java/org/assertj/vavr/api/BaseAssumptionsTest.java index e4f1f15..225e9d6 100644 --- a/src/test/java/org/assertj/vavr/api/BaseAssumptionsTest.java +++ b/src/test/java/org/assertj/vavr/api/BaseAssumptionsTest.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/EitherAssert_containsLeftInstanceOf_Test.java b/src/test/java/org/assertj/vavr/api/EitherAssert_containsLeftInstanceOf_Test.java index 835120d..93ff596 100644 --- a/src/test/java/org/assertj/vavr/api/EitherAssert_containsLeftInstanceOf_Test.java +++ b/src/test/java/org/assertj/vavr/api/EitherAssert_containsLeftInstanceOf_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; @@ -76,4 +76,4 @@ private static class SubClass extends ParentClass { private static class OtherClass { } -} \ No newline at end of file +} diff --git a/src/test/java/org/assertj/vavr/api/EitherAssert_containsLeftSame_Test.java b/src/test/java/org/assertj/vavr/api/EitherAssert_containsLeftSame_Test.java index b8c629b..9661e92 100644 --- a/src/test/java/org/assertj/vavr/api/EitherAssert_containsLeftSame_Test.java +++ b/src/test/java/org/assertj/vavr/api/EitherAssert_containsLeftSame_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/EitherAssert_containsLeft_Test.java b/src/test/java/org/assertj/vavr/api/EitherAssert_containsLeft_Test.java index f963346..c91c125 100644 --- a/src/test/java/org/assertj/vavr/api/EitherAssert_containsLeft_Test.java +++ b/src/test/java/org/assertj/vavr/api/EitherAssert_containsLeft_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/EitherAssert_containsOnLeft_usingFieldByFieldValueComparator_Test.java b/src/test/java/org/assertj/vavr/api/EitherAssert_containsOnLeft_usingFieldByFieldValueComparator_Test.java index fb149f3..2b60371 100644 --- a/src/test/java/org/assertj/vavr/api/EitherAssert_containsOnLeft_usingFieldByFieldValueComparator_Test.java +++ b/src/test/java/org/assertj/vavr/api/EitherAssert_containsOnLeft_usingFieldByFieldValueComparator_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/EitherAssert_containsOnLeft_usingValueComparator_Test.java b/src/test/java/org/assertj/vavr/api/EitherAssert_containsOnLeft_usingValueComparator_Test.java index fbf53b9..d8a9670 100644 --- a/src/test/java/org/assertj/vavr/api/EitherAssert_containsOnLeft_usingValueComparator_Test.java +++ b/src/test/java/org/assertj/vavr/api/EitherAssert_containsOnLeft_usingValueComparator_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/EitherAssert_containsOnRight_usingFieldByFieldValueComparator_Test.java b/src/test/java/org/assertj/vavr/api/EitherAssert_containsOnRight_usingFieldByFieldValueComparator_Test.java index 0cbcf00..14c2eab 100644 --- a/src/test/java/org/assertj/vavr/api/EitherAssert_containsOnRight_usingFieldByFieldValueComparator_Test.java +++ b/src/test/java/org/assertj/vavr/api/EitherAssert_containsOnRight_usingFieldByFieldValueComparator_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/EitherAssert_containsOnRight_usingValueComparator_Test.java b/src/test/java/org/assertj/vavr/api/EitherAssert_containsOnRight_usingValueComparator_Test.java index 13c5a32..7a4fe1c 100644 --- a/src/test/java/org/assertj/vavr/api/EitherAssert_containsOnRight_usingValueComparator_Test.java +++ b/src/test/java/org/assertj/vavr/api/EitherAssert_containsOnRight_usingValueComparator_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/EitherAssert_containsRightInstanceOf_Test.java b/src/test/java/org/assertj/vavr/api/EitherAssert_containsRightInstanceOf_Test.java index 0f430e5..88d2e81 100644 --- a/src/test/java/org/assertj/vavr/api/EitherAssert_containsRightInstanceOf_Test.java +++ b/src/test/java/org/assertj/vavr/api/EitherAssert_containsRightInstanceOf_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; @@ -75,4 +75,4 @@ private static class SubClass extends ParentClass { private static class OtherClass { } -} \ No newline at end of file +} diff --git a/src/test/java/org/assertj/vavr/api/EitherAssert_containsRightSame_Test.java b/src/test/java/org/assertj/vavr/api/EitherAssert_containsRightSame_Test.java index beff7d2..b16dc3c 100644 --- a/src/test/java/org/assertj/vavr/api/EitherAssert_containsRightSame_Test.java +++ b/src/test/java/org/assertj/vavr/api/EitherAssert_containsRightSame_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/EitherAssert_containsRight_Test.java b/src/test/java/org/assertj/vavr/api/EitherAssert_containsRight_Test.java index f77c63e..6320200 100644 --- a/src/test/java/org/assertj/vavr/api/EitherAssert_containsRight_Test.java +++ b/src/test/java/org/assertj/vavr/api/EitherAssert_containsRight_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/EitherAssert_hasLeftValueSatisfying_Test.java b/src/test/java/org/assertj/vavr/api/EitherAssert_hasLeftValueSatisfying_Test.java index 599814e..c2ebc6e 100644 --- a/src/test/java/org/assertj/vavr/api/EitherAssert_hasLeftValueSatisfying_Test.java +++ b/src/test/java/org/assertj/vavr/api/EitherAssert_hasLeftValueSatisfying_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/EitherAssert_hasRightValueSatisfying_Test.java b/src/test/java/org/assertj/vavr/api/EitherAssert_hasRightValueSatisfying_Test.java index 3cb3db8..01044c9 100644 --- a/src/test/java/org/assertj/vavr/api/EitherAssert_hasRightValueSatisfying_Test.java +++ b/src/test/java/org/assertj/vavr/api/EitherAssert_hasRightValueSatisfying_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/EitherAssert_isLeft_Test.java b/src/test/java/org/assertj/vavr/api/EitherAssert_isLeft_Test.java index 2682c7f..bcd7b4d 100644 --- a/src/test/java/org/assertj/vavr/api/EitherAssert_isLeft_Test.java +++ b/src/test/java/org/assertj/vavr/api/EitherAssert_isLeft_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/EitherAssert_isRight_Test.java b/src/test/java/org/assertj/vavr/api/EitherAssert_isRight_Test.java index fe6eac0..b01aa5f 100644 --- a/src/test/java/org/assertj/vavr/api/EitherAssert_isRight_Test.java +++ b/src/test/java/org/assertj/vavr/api/EitherAssert_isRight_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/Either_assertion_methods_in_assumptions_Test.java b/src/test/java/org/assertj/vavr/api/Either_assertion_methods_in_assumptions_Test.java index fca7b28..9f6cb0f 100644 --- a/src/test/java/org/assertj/vavr/api/Either_assertion_methods_in_assumptions_Test.java +++ b/src/test/java/org/assertj/vavr/api/Either_assertion_methods_in_assumptions_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/LazyAssert_isEvaluated_Test.java b/src/test/java/org/assertj/vavr/api/LazyAssert_isEvaluated_Test.java index 60f956b..bb98db4 100644 --- a/src/test/java/org/assertj/vavr/api/LazyAssert_isEvaluated_Test.java +++ b/src/test/java/org/assertj/vavr/api/LazyAssert_isEvaluated_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/LazyAssert_isNotEvaluated_Test.java b/src/test/java/org/assertj/vavr/api/LazyAssert_isNotEvaluated_Test.java index 078bff7..d54715b 100644 --- a/src/test/java/org/assertj/vavr/api/LazyAssert_isNotEvaluated_Test.java +++ b/src/test/java/org/assertj/vavr/api/LazyAssert_isNotEvaluated_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/Lazy_assertion_methods_in_assumptions_Test.java b/src/test/java/org/assertj/vavr/api/Lazy_assertion_methods_in_assumptions_Test.java index 14594af..4642090 100644 --- a/src/test/java/org/assertj/vavr/api/Lazy_assertion_methods_in_assumptions_Test.java +++ b/src/test/java/org/assertj/vavr/api/Lazy_assertion_methods_in_assumptions_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_allSatisfy_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_allSatisfy_Test.java index e804d11..7279514 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_allSatisfy_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_allSatisfy_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_containsAllEntriesOf_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_containsAllEntriesOf_Test.java index 606759d..5d1a8d5 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_containsAllEntriesOf_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_containsAllEntriesOf_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; @@ -23,7 +23,6 @@ import static org.assertj.core.error.ShouldNotBeNull.shouldNotBeNull; import static org.assertj.vavr.api.VavrAssertions.assertThat; -@SuppressWarnings("unchecked") class MapAssert_containsAllEntriesOf_Test { private static final Tuple2 ENTRY1 = Tuple.of("key1", "value1"); diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_containsEntry_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_containsEntry_Test.java index 6abb67b..bff1880 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_containsEntry_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_containsEntry_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_containsExactly_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_containsExactly_Test.java index d4c213f..9200f96 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_containsExactly_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_containsExactly_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_containsKey_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_containsKey_Test.java index 0362f83..19ac6f2 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_containsKey_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_containsKey_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_containsKeys_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_containsKeys_Test.java index 230d7c3..df4f87f 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_containsKeys_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_containsKeys_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_containsOnlyKeys_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_containsOnlyKeys_Test.java index 3706942..8b7f296 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_containsOnlyKeys_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_containsOnlyKeys_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_containsOnly_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_containsOnly_Test.java index fa5246a..413983c 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_containsOnly_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_containsOnly_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_containsValue_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_containsValue_Test.java index 9954735..9798be0 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_containsValue_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_containsValue_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_containsValues_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_containsValues_Test.java index 7722fd4..ed0204e 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_containsValues_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_containsValues_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_contains_anyOf_entries_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_contains_anyOf_entries_Test.java index 684daf5..85d80ed 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_contains_anyOf_entries_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_contains_anyOf_entries_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_contains_entries_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_contains_entries_Test.java index 0b65015..371eff7 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_contains_entries_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_contains_entries_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_doesNotContainEntry_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_doesNotContainEntry_Test.java index a8d38ce..1d403a6 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_doesNotContainEntry_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_doesNotContainEntry_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_doesNotContainKey_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_doesNotContainKey_Test.java index 7c3abc8..160c7bf 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_doesNotContainKey_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_doesNotContainKey_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_doesNotContainKeys_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_doesNotContainKeys_Test.java index b4ba210..e2f506b 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_doesNotContainKeys_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_doesNotContainKeys_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_doesNotContainValue_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_doesNotContainValue_Test.java index f191b6e..073da53 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_doesNotContainValue_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_doesNotContainValue_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_doesNotContainValues_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_doesNotContainValues_Test.java index d2e9f13..3a765b3 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_doesNotContainValues_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_doesNotContainValues_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_doesNotContain_entries_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_doesNotContain_entries_Test.java index ad3e113..103813a 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_doesNotContain_entries_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_doesNotContain_entries_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_hasEntrySatisfying_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_hasEntrySatisfying_Test.java index 721e15c..356ad77 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_hasEntrySatisfying_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_hasEntrySatisfying_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_hasSameSizeAs_Array_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_hasSameSizeAs_Array_Test.java index 2cd87ad..11ed755 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_hasSameSizeAs_Array_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_hasSameSizeAs_Array_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_hasSameSizeAs_Iterable_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_hasSameSizeAs_Iterable_Test.java index 5b7ac4a..88c6c25 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_hasSameSizeAs_Iterable_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_hasSameSizeAs_Iterable_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_hasSizeGreaterThan_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_hasSizeGreaterThan_Test.java index 59166fa..8f9a2a7 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_hasSizeGreaterThan_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_hasSizeGreaterThan_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_hasSizeLessThan_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_hasSizeLessThan_Test.java index 18c433e..6d01035 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_hasSizeLessThan_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_hasSizeLessThan_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_hasSize_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_hasSize_Test.java index eb08cc2..c664f45 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_hasSize_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_hasSize_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_isEmpty_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_isEmpty_Test.java index 892c669..6547850 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_isEmpty_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_isEmpty_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_isEqualTo_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_isEqualTo_Test.java index 02d5fb0..7277f29 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_isEqualTo_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_isEqualTo_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; @@ -27,7 +27,7 @@ class MapAssert_isEqualTo_Test { @Test void should_pass_if_Map_is_equal_to() { assertThat(HashMap.of( - "key1", "value2", + "key1", "value2", "key2", "value2")) .isEqualTo(HashMap.of( "key1", "value2", diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_isNotEmpty_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_isNotEmpty_Test.java index 72f6a73..7ecf620 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_isNotEmpty_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_isNotEmpty_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_isNotEqualTo_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_isNotEqualTo_Test.java index 7dace58..33267e3 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_isNotEqualTo_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_isNotEqualTo_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MapAssert_isNullOrEmpty_Test.java b/src/test/java/org/assertj/vavr/api/MapAssert_isNullOrEmpty_Test.java index 480d114..e6b7390 100644 --- a/src/test/java/org/assertj/vavr/api/MapAssert_isNullOrEmpty_Test.java +++ b/src/test/java/org/assertj/vavr/api/MapAssert_isNullOrEmpty_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/Map_assertion_methods_in_assumptions_Test.java b/src/test/java/org/assertj/vavr/api/Map_assertion_methods_in_assumptions_Test.java index f36a6cf..54e698f 100644 --- a/src/test/java/org/assertj/vavr/api/Map_assertion_methods_in_assumptions_Test.java +++ b/src/test/java/org/assertj/vavr/api/Map_assertion_methods_in_assumptions_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultiMapAssert_isEqualTo_Test.java b/src/test/java/org/assertj/vavr/api/MultiMapAssert_isEqualTo_Test.java index 59c2337..ac9ca4b 100644 --- a/src/test/java/org/assertj/vavr/api/MultiMapAssert_isEqualTo_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultiMapAssert_isEqualTo_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultiMapAssert_isNotEqualTo_Test.java b/src/test/java/org/assertj/vavr/api/MultiMapAssert_isNotEqualTo_Test.java index 4aefa6e..0ae3e7c 100644 --- a/src/test/java/org/assertj/vavr/api/MultiMapAssert_isNotEqualTo_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultiMapAssert_isNotEqualTo_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_allSatisfy_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_allSatisfy_Test.java index 93c2987..4af5a8b 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_allSatisfy_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_allSatisfy_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_containsAllEntriesOf_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_containsAllEntriesOf_Test.java index c9cddb8..1fd0e6f 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_containsAllEntriesOf_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_containsAllEntriesOf_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; @@ -21,7 +21,6 @@ import static org.assertj.core.error.ShouldNotBeNull.shouldNotBeNull; import static org.assertj.vavr.api.VavrAssertions.assertThat; -@SuppressWarnings("unchecked") class MultimapAssert_containsAllEntriesOf_Test { private static final Tuple2 ENTRY1 = Tuple.of("key1", "value1"); diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_containsEntry_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_containsEntry_Test.java index 8728ec7..343dd96 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_containsEntry_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_containsEntry_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_containsExactly_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_containsExactly_Test.java index 5a7bcb5..3d420f4 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_containsExactly_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_containsExactly_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_containsKey_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_containsKey_Test.java index b5bc8b7..cdc0809 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_containsKey_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_containsKey_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_containsKeys_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_containsKeys_Test.java index 0309047..dd65716 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_containsKeys_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_containsKeys_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_containsOnlyKeys_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_containsOnlyKeys_Test.java index 0a44b93..86a7560 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_containsOnlyKeys_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_containsOnlyKeys_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_containsOnly_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_containsOnly_Test.java index 14e2728..9355ca4 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_containsOnly_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_containsOnly_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_containsValue_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_containsValue_Test.java index 82d6abd..76c1ec1 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_containsValue_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_containsValue_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_containsValues_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_containsValues_Test.java index 7e77c1e..fd8b533 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_containsValues_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_containsValues_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_contains_anyOf_entries_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_contains_anyOf_entries_Test.java index afdcd9a..71fac11 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_contains_anyOf_entries_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_contains_anyOf_entries_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_contains_entries_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_contains_entries_Test.java index 384a7a3..ea0cbdc 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_contains_entries_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_contains_entries_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_doesNotContainEntry_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_doesNotContainEntry_Test.java index 90b665a..3d12b90 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_doesNotContainEntry_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_doesNotContainEntry_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_doesNotContainKey_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_doesNotContainKey_Test.java index 71a8260..bc97306 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_doesNotContainKey_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_doesNotContainKey_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_doesNotContainKeys_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_doesNotContainKeys_Test.java index 13cc9f6..e73f9d8 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_doesNotContainKeys_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_doesNotContainKeys_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_doesNotContainValue_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_doesNotContainValue_Test.java index bc8ab4d..0196e70 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_doesNotContainValue_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_doesNotContainValue_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_doesNotContainValues_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_doesNotContainValues_Test.java index 9ed2a80..8dc0fbd 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_doesNotContainValues_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_doesNotContainValues_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_doesNotContain_entries_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_doesNotContain_entries_Test.java index 4a3d976..c937dd6 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_doesNotContain_entries_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_doesNotContain_entries_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_hasEntrySatisfying_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_hasEntrySatisfying_Test.java index 269157c..d2a7253 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_hasEntrySatisfying_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_hasEntrySatisfying_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_hasSameSizeAs_Array_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_hasSameSizeAs_Array_Test.java index 0986e8e..2a7b1ad 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_hasSameSizeAs_Array_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_hasSameSizeAs_Array_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_hasSameSizeAs_Iterable_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_hasSameSizeAs_Iterable_Test.java index e12f826..b427a33 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_hasSameSizeAs_Iterable_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_hasSameSizeAs_Iterable_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_hasSizeGreaterThan_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_hasSizeGreaterThan_Test.java index 3d45881..020c240 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_hasSizeGreaterThan_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_hasSizeGreaterThan_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_hasSizeLessThan_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_hasSizeLessThan_Test.java index c100067..8fb7ec0 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_hasSizeLessThan_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_hasSizeLessThan_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_hasSize_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_hasSize_Test.java index db9c62d..7d10f37 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_hasSize_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_hasSize_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_isEmpty_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_isEmpty_Test.java index e880180..c6b65fc 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_isEmpty_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_isEmpty_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_isNotEmpty_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_isNotEmpty_Test.java index f76d7c9..0ae2bba 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_isNotEmpty_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_isNotEmpty_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/MultimapAssert_isNullOrEmpty_Test.java b/src/test/java/org/assertj/vavr/api/MultimapAssert_isNullOrEmpty_Test.java index 9862edf..ae22470 100644 --- a/src/test/java/org/assertj/vavr/api/MultimapAssert_isNullOrEmpty_Test.java +++ b/src/test/java/org/assertj/vavr/api/MultimapAssert_isNullOrEmpty_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/Multimap_assertion_methods_in_assumptions_Test.java b/src/test/java/org/assertj/vavr/api/Multimap_assertion_methods_in_assumptions_Test.java index fb07859..e4be869 100644 --- a/src/test/java/org/assertj/vavr/api/Multimap_assertion_methods_in_assumptions_Test.java +++ b/src/test/java/org/assertj/vavr/api/Multimap_assertion_methods_in_assumptions_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/OptionAssert_containsInstanceOf_Test.java b/src/test/java/org/assertj/vavr/api/OptionAssert_containsInstanceOf_Test.java index a4e3fe1..9599a66 100644 --- a/src/test/java/org/assertj/vavr/api/OptionAssert_containsInstanceOf_Test.java +++ b/src/test/java/org/assertj/vavr/api/OptionAssert_containsInstanceOf_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; @@ -63,4 +63,4 @@ private static class SubClass extends ParentClass { private static class OtherClass { } -} \ No newline at end of file +} diff --git a/src/test/java/org/assertj/vavr/api/OptionAssert_containsSame_Test.java b/src/test/java/org/assertj/vavr/api/OptionAssert_containsSame_Test.java index ae84857..0dc5fb5 100644 --- a/src/test/java/org/assertj/vavr/api/OptionAssert_containsSame_Test.java +++ b/src/test/java/org/assertj/vavr/api/OptionAssert_containsSame_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/OptionAssert_contains_Test.java b/src/test/java/org/assertj/vavr/api/OptionAssert_contains_Test.java index 3728b6d..e7d76c6 100644 --- a/src/test/java/org/assertj/vavr/api/OptionAssert_contains_Test.java +++ b/src/test/java/org/assertj/vavr/api/OptionAssert_contains_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/OptionAssert_contains_usingFieldByFieldValueComparator_Test.java b/src/test/java/org/assertj/vavr/api/OptionAssert_contains_usingFieldByFieldValueComparator_Test.java index f6155ac..ed0586c 100644 --- a/src/test/java/org/assertj/vavr/api/OptionAssert_contains_usingFieldByFieldValueComparator_Test.java +++ b/src/test/java/org/assertj/vavr/api/OptionAssert_contains_usingFieldByFieldValueComparator_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/OptionAssert_contains_usingValueComparator_Test.java b/src/test/java/org/assertj/vavr/api/OptionAssert_contains_usingValueComparator_Test.java index 5055c72..9199776 100644 --- a/src/test/java/org/assertj/vavr/api/OptionAssert_contains_usingValueComparator_Test.java +++ b/src/test/java/org/assertj/vavr/api/OptionAssert_contains_usingValueComparator_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/OptionAssert_flatMap_Test.java b/src/test/java/org/assertj/vavr/api/OptionAssert_flatMap_Test.java index b861e68..0808615 100644 --- a/src/test/java/org/assertj/vavr/api/OptionAssert_flatMap_Test.java +++ b/src/test/java/org/assertj/vavr/api/OptionAssert_flatMap_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/OptionAssert_hasValueSatisfying_Condition_Test.java b/src/test/java/org/assertj/vavr/api/OptionAssert_hasValueSatisfying_Condition_Test.java index a3f8ce7..fc58d0b 100644 --- a/src/test/java/org/assertj/vavr/api/OptionAssert_hasValueSatisfying_Condition_Test.java +++ b/src/test/java/org/assertj/vavr/api/OptionAssert_hasValueSatisfying_Condition_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/OptionAssert_hasValueSatisfying_Test.java b/src/test/java/org/assertj/vavr/api/OptionAssert_hasValueSatisfying_Test.java index dd0d691..6695509 100644 --- a/src/test/java/org/assertj/vavr/api/OptionAssert_hasValueSatisfying_Test.java +++ b/src/test/java/org/assertj/vavr/api/OptionAssert_hasValueSatisfying_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/OptionAssert_isDefined_Test.java b/src/test/java/org/assertj/vavr/api/OptionAssert_isDefined_Test.java index 5b85fef..d82d8be 100644 --- a/src/test/java/org/assertj/vavr/api/OptionAssert_isDefined_Test.java +++ b/src/test/java/org/assertj/vavr/api/OptionAssert_isDefined_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/OptionAssert_isEmpty_Test.java b/src/test/java/org/assertj/vavr/api/OptionAssert_isEmpty_Test.java index e1d34d7..a009799 100644 --- a/src/test/java/org/assertj/vavr/api/OptionAssert_isEmpty_Test.java +++ b/src/test/java/org/assertj/vavr/api/OptionAssert_isEmpty_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/OptionAssert_map_Test.java b/src/test/java/org/assertj/vavr/api/OptionAssert_map_Test.java index 32bbfc7..d8df665 100644 --- a/src/test/java/org/assertj/vavr/api/OptionAssert_map_Test.java +++ b/src/test/java/org/assertj/vavr/api/OptionAssert_map_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/Option_assertion_methods_in_assumptions_Test.java b/src/test/java/org/assertj/vavr/api/Option_assertion_methods_in_assumptions_Test.java index 9a610c3..3c46acd 100644 --- a/src/test/java/org/assertj/vavr/api/Option_assertion_methods_in_assumptions_Test.java +++ b/src/test/java/org/assertj/vavr/api/Option_assertion_methods_in_assumptions_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/SeqAssert_containsExactly_inAnyOrder_Test.java b/src/test/java/org/assertj/vavr/api/SeqAssert_containsExactly_inAnyOrder_Test.java index 3654c00..22aaa48 100644 --- a/src/test/java/org/assertj/vavr/api/SeqAssert_containsExactly_inAnyOrder_Test.java +++ b/src/test/java/org/assertj/vavr/api/SeqAssert_containsExactly_inAnyOrder_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; @@ -32,15 +32,6 @@ void should_pass_if_List_contains_exactly_elements_in_any_order() { .containsExactlyInAnyOrder(expectedInAnyOrder); } - @Test - void should_pass_if_List_contains_exactly_elements_in_any_order_using_element_comparator() { - final Set expectedInAnyOrder = HashSet.of("other", "and", "else", "something"); - final List uppercaseList = expectedInAnyOrder.map(String::toUpperCase).toList().reverse(); - assertThat(uppercaseList) - .usingElementComparator(String::compareToIgnoreCase) - .containsExactlyInAnyOrder(expectedInAnyOrder); - } - @Test void should_fail_when_List_is_null() { final Set expectedInAnyOrder = HashSet.of("other", "and", "else", "something"); diff --git a/src/test/java/org/assertj/vavr/api/SeqAssert_contains_atIndex_Test.java b/src/test/java/org/assertj/vavr/api/SeqAssert_contains_atIndex_Test.java index 8b75c96..197f6eb 100644 --- a/src/test/java/org/assertj/vavr/api/SeqAssert_contains_atIndex_Test.java +++ b/src/test/java/org/assertj/vavr/api/SeqAssert_contains_atIndex_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/SeqAssert_doesNotContain_atIndex_Test.java b/src/test/java/org/assertj/vavr/api/SeqAssert_doesNotContain_atIndex_Test.java index 963e709..1a1959c 100644 --- a/src/test/java/org/assertj/vavr/api/SeqAssert_doesNotContain_atIndex_Test.java +++ b/src/test/java/org/assertj/vavr/api/SeqAssert_doesNotContain_atIndex_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/SeqAssert_has_atIndex_Test.java b/src/test/java/org/assertj/vavr/api/SeqAssert_has_atIndex_Test.java index a77b25c..d2c410e 100644 --- a/src/test/java/org/assertj/vavr/api/SeqAssert_has_atIndex_Test.java +++ b/src/test/java/org/assertj/vavr/api/SeqAssert_has_atIndex_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/SeqAssert_isSortedAccordingTo_Test.java b/src/test/java/org/assertj/vavr/api/SeqAssert_isSortedAccordingTo_Test.java index 974713b..472a62b 100644 --- a/src/test/java/org/assertj/vavr/api/SeqAssert_isSortedAccordingTo_Test.java +++ b/src/test/java/org/assertj/vavr/api/SeqAssert_isSortedAccordingTo_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/SeqAssert_isSorted_Test.java b/src/test/java/org/assertj/vavr/api/SeqAssert_isSorted_Test.java index c5a8596..14a10f2 100644 --- a/src/test/java/org/assertj/vavr/api/SeqAssert_isSorted_Test.java +++ b/src/test/java/org/assertj/vavr/api/SeqAssert_isSorted_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/SeqAssert_is_atIndex_Test.java b/src/test/java/org/assertj/vavr/api/SeqAssert_is_atIndex_Test.java index 4b7d1eb..e411b67 100644 --- a/src/test/java/org/assertj/vavr/api/SeqAssert_is_atIndex_Test.java +++ b/src/test/java/org/assertj/vavr/api/SeqAssert_is_atIndex_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/SeqAssert_satisfies_atIndex_Test.java b/src/test/java/org/assertj/vavr/api/SeqAssert_satisfies_atIndex_Test.java index da69510..736f2da 100644 --- a/src/test/java/org/assertj/vavr/api/SeqAssert_satisfies_atIndex_Test.java +++ b/src/test/java/org/assertj/vavr/api/SeqAssert_satisfies_atIndex_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/Seq_assertion_methods_in_assumptions_Test.java b/src/test/java/org/assertj/vavr/api/Seq_assertion_methods_in_assumptions_Test.java index 960c593..f251717 100644 --- a/src/test/java/org/assertj/vavr/api/Seq_assertion_methods_in_assumptions_Test.java +++ b/src/test/java/org/assertj/vavr/api/Seq_assertion_methods_in_assumptions_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/SetAssert_allSatisfy_Test.java b/src/test/java/org/assertj/vavr/api/SetAssert_allSatisfy_Test.java index 79e6995..2f0457d 100644 --- a/src/test/java/org/assertj/vavr/api/SetAssert_allSatisfy_Test.java +++ b/src/test/java/org/assertj/vavr/api/SetAssert_allSatisfy_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/SetAssert_hasSize_Test.java b/src/test/java/org/assertj/vavr/api/SetAssert_hasSize_Test.java index 148c8c5..c370808 100644 --- a/src/test/java/org/assertj/vavr/api/SetAssert_hasSize_Test.java +++ b/src/test/java/org/assertj/vavr/api/SetAssert_hasSize_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/SetAssert_isEmpty_Test.java b/src/test/java/org/assertj/vavr/api/SetAssert_isEmpty_Test.java index c6ba5fc..da274c8 100644 --- a/src/test/java/org/assertj/vavr/api/SetAssert_isEmpty_Test.java +++ b/src/test/java/org/assertj/vavr/api/SetAssert_isEmpty_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/Set_assertion_methods_in_assumptions_Test.java b/src/test/java/org/assertj/vavr/api/Set_assertion_methods_in_assumptions_Test.java index 3b2cae8..720da88 100644 --- a/src/test/java/org/assertj/vavr/api/Set_assertion_methods_in_assumptions_Test.java +++ b/src/test/java/org/assertj/vavr/api/Set_assertion_methods_in_assumptions_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/TestCondition.java b/src/test/java/org/assertj/vavr/api/TestCondition.java index 1883be8..5e26a92 100644 --- a/src/test/java/org/assertj/vavr/api/TestCondition.java +++ b/src/test/java/org/assertj/vavr/api/TestCondition.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/TryAssert_containsInstanceOf_Test.java b/src/test/java/org/assertj/vavr/api/TryAssert_containsInstanceOf_Test.java index 779faec..807ed7f 100644 --- a/src/test/java/org/assertj/vavr/api/TryAssert_containsInstanceOf_Test.java +++ b/src/test/java/org/assertj/vavr/api/TryAssert_containsInstanceOf_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; @@ -58,4 +58,4 @@ void should_fail_when_success_try_contains_value_of_different_class() { void should_pass_when_success_try_contains_value_of_expected_class() { assertThat(Try.success("OK")).containsInstanceOf(String.class); } -} \ No newline at end of file +} diff --git a/src/test/java/org/assertj/vavr/api/TryAssert_containsSame_Test.java b/src/test/java/org/assertj/vavr/api/TryAssert_containsSame_Test.java index 6c39778..ecabfe4 100644 --- a/src/test/java/org/assertj/vavr/api/TryAssert_containsSame_Test.java +++ b/src/test/java/org/assertj/vavr/api/TryAssert_containsSame_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; @@ -81,4 +81,4 @@ void should_fail_when_try_is_a_failure() { .isInstanceOf(AssertionError.class) .hasMessageStartingWith("\nExpecting Try to contain:\n assertThat(val).isNotBlank().isEqualTo("OK")); } -} \ No newline at end of file +} diff --git a/src/test/java/org/assertj/vavr/api/TryAssert_isFailure_Test.java b/src/test/java/org/assertj/vavr/api/TryAssert_isFailure_Test.java index 111ae52..9989632 100644 --- a/src/test/java/org/assertj/vavr/api/TryAssert_isFailure_Test.java +++ b/src/test/java/org/assertj/vavr/api/TryAssert_isFailure_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; @@ -43,4 +43,4 @@ void should_fail_when_try_is_success() { void should_pass_when_try_is_failure() { assertThat(Try.failure(new NullPointerException())).isFailure(); } -} \ No newline at end of file +} diff --git a/src/test/java/org/assertj/vavr/api/TryAssert_isSuccess_Test.java b/src/test/java/org/assertj/vavr/api/TryAssert_isSuccess_Test.java index 8f633c3..fcaff30 100644 --- a/src/test/java/org/assertj/vavr/api/TryAssert_isSuccess_Test.java +++ b/src/test/java/org/assertj/vavr/api/TryAssert_isSuccess_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; @@ -48,4 +48,4 @@ void should_fail_when_try_is_failure() { void should_pass_when_try_is_success() { assertThat(Try.success("OK")).isSuccess(); } -} \ No newline at end of file +} diff --git a/src/test/java/org/assertj/vavr/api/Try_assertion_methods_in_assumptions_Test.java b/src/test/java/org/assertj/vavr/api/Try_assertion_methods_in_assumptions_Test.java index 0d36563..de2f5c7 100644 --- a/src/test/java/org/assertj/vavr/api/Try_assertion_methods_in_assumptions_Test.java +++ b/src/test/java/org/assertj/vavr/api/Try_assertion_methods_in_assumptions_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalidInstanceOf_Test.java b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalidInstanceOf_Test.java index e5df94a..a71057f 100644 --- a/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalidInstanceOf_Test.java +++ b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalidInstanceOf_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; @@ -75,4 +75,4 @@ private static class SubClass extends ParentClass { private static class OtherClass { } -} \ No newline at end of file +} diff --git a/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalidSame_Test.java b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalidSame_Test.java index 183c2de..5988350 100644 --- a/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalidSame_Test.java +++ b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalidSame_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalidSatisfying_Condition_Test.java b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalidSatisfying_Condition_Test.java new file mode 100644 index 0000000..4b076ef --- /dev/null +++ b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalidSatisfying_Condition_Test.java @@ -0,0 +1,72 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on + * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + * + * Copyright 2017-2023 the original author or authors. + */ +package org.assertj.vavr.api; + +import io.vavr.control.Validation; +import org.assertj.core.api.Condition; +import org.junit.jupiter.api.Test; + +import static org.assertj.core.api.Assertions.assertThatThrownBy; +import static org.assertj.core.util.FailureMessages.actualIsNull; +import static org.assertj.vavr.api.ValidationShouldBeInvalid.shouldBeInvalid; +import static org.assertj.vavr.api.VavrAssertions.assertThat; + +class ValidationAssert_containsInvalidSatisfying_Condition_Test { + + private final Condition witchTale = new Condition<>(s -> s.startsWith("Witch"), "a %s tale", "witch"); + + @Test + void should_fail_when_validation_is_null() { + assertThatThrownBy( + () -> assertThat((Validation) null).containsInvalidSatisfying(witchTale) + ) + .isInstanceOf(AssertionError.class) + .hasMessage(actualIsNull()); + } + + @Test + void should_fail_if_provided_condition_is_null() { + assertThatThrownBy( + () -> assertThat(Validation.invalid("something")).containsInvalidSatisfying((Condition) null) + ) + .isInstanceOf(NullPointerException.class) + .hasMessage("The condition to evaluate should not be null"); + } + + @Test + void should_pass_if_validation_contains_invalid_value_satisfying_expected_conditions() { + assertThat(Validation.invalid("Witch scary tale")).containsInvalidSatisfying(witchTale); + } + + @Test + void should_fail_if_validation_contains_invalid_value_not_satisfying_expected_conditions() { + Validation actual = Validation.invalid("something"); + + assertThatThrownBy( + () -> assertThat(actual).containsInvalidSatisfying(witchTale) + ) + .isInstanceOf(AssertionError.class) + .hasMessage("\nExpecting actual:\n \"something\"\nto be a witch tale"); + } + + @Test + void should_fail_if_validation_is_valid() { + Validation actual = Validation.valid("nothing"); + + assertThatThrownBy( + () -> assertThat(actual).containsInvalidSatisfying(witchTale) + ) + .isInstanceOf(AssertionError.class) + .hasMessage(shouldBeInvalid(actual).create()); + } +} diff --git a/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalidSatisfying_Consumer_Test.java b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalidSatisfying_Consumer_Test.java new file mode 100644 index 0000000..85a0cae --- /dev/null +++ b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalidSatisfying_Consumer_Test.java @@ -0,0 +1,74 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on + * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + * + * Copyright 2017-2023 the original author or authors. + */ +package org.assertj.vavr.api; + +import io.vavr.control.Validation; +import org.junit.jupiter.api.Test; + +import java.util.function.Consumer; + +import static org.assertj.core.api.Assertions.assertThatThrownBy; +import static org.assertj.core.util.FailureMessages.actualIsNull; +import static org.assertj.vavr.api.ValidationShouldBeInvalid.shouldBeInvalid; +import static org.assertj.vavr.api.VavrAssertions.assertThat; +import static org.assertj.core.api.Assertions.assertThat; + +class ValidationAssert_containsInvalidSatisfying_Consumer_Test { + + @Test + void should_fail_when_validation_is_null() { + assertThatThrownBy( + () -> assertThat((Validation) null).containsInvalidSatisfying(invalid -> {}) + ) + .isInstanceOf(AssertionError.class) + .hasMessage(actualIsNull()); + } + + @Test + void should_fail_if_provided_consumer_is_null() { + assertThatThrownBy( + () -> assertThat(Validation.invalid("something")).containsInvalidSatisfying((Consumer) null) + ) + .isInstanceOf(NullPointerException.class); + } + + @Test + void should_pass_if_validation_contains_invalid_value_satisfying_expected_conditions() { + assertThat(Validation.invalid("something")).containsInvalidSatisfying( + invalid -> assertThat(invalid).isEqualTo("something")); + } + + @Test + void should_fail_if_validation_contains_invalid_value_not_satisfying_expected_conditions() { + Validation actual = Validation.invalid("something"); + String expectedValue = "nothing"; + + assertThatThrownBy( + () -> assertThat(actual).containsInvalidSatisfying( + invalid -> assertThat(invalid).isEqualTo(expectedValue)) + ) + .isInstanceOf(AssertionError.class) + .hasMessage("\nexpected: \"nothing\"\n but was: \"something\""); + } + + @Test + void should_fail_if_validation_is_valid() { + Validation actual = Validation.valid("nothing"); + + assertThatThrownBy( + () -> assertThat(actual).containsInvalidSatisfying(invalid -> {}) + ) + .isInstanceOf(AssertionError.class) + .hasMessage(shouldBeInvalid(actual).create()); + } +} diff --git a/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalid_Test.java b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalid_Test.java index 6c42207..ba71b18 100644 --- a/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalid_Test.java +++ b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalid_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalid_usingFieldByFieldValueComparator_Test.java b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalid_usingFieldByFieldValueComparator_Test.java index 40ce734..9af9b49 100644 --- a/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalid_usingFieldByFieldValueComparator_Test.java +++ b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalid_usingFieldByFieldValueComparator_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalid_usingValueComparator_Test.java b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalid_usingValueComparator_Test.java index db0f4bf..f42339f 100644 --- a/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalid_usingValueComparator_Test.java +++ b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsInvalid_usingValueComparator_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValidInstanceOf_Test.java b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValidInstanceOf_Test.java index 22d93e4..c9bfd5f 100644 --- a/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValidInstanceOf_Test.java +++ b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValidInstanceOf_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; @@ -75,4 +75,4 @@ private static class SubClass extends ParentClass { private static class OtherClass { } -} \ No newline at end of file +} diff --git a/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValidSame_Test.java b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValidSame_Test.java index d003e67..c7efdd0 100644 --- a/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValidSame_Test.java +++ b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValidSame_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValidSatisfying_Condition_Test.java b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValidSatisfying_Condition_Test.java new file mode 100644 index 0000000..32c9f80 --- /dev/null +++ b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValidSatisfying_Condition_Test.java @@ -0,0 +1,72 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on + * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + * + * Copyright 2017-2023 the original author or authors. + */ +package org.assertj.vavr.api; + +import io.vavr.control.Validation; +import org.assertj.core.api.Condition; +import org.junit.jupiter.api.Test; + +import static org.assertj.core.api.Assertions.assertThatThrownBy; +import static org.assertj.core.util.FailureMessages.actualIsNull; +import static org.assertj.vavr.api.ValidationShouldBeValid.shouldBeValid; +import static org.assertj.vavr.api.VavrAssertions.assertThat; + +class ValidationAssert_containsValidSatisfying_Condition_Test { + + private final Condition fairyTale = new Condition<>(s -> s.startsWith("Once upon a time"), "a %s tale", "fairy"); + + @Test + void should_fail_when_validation_is_null() { + assertThatThrownBy( + () -> assertThat((Validation) null).containsValidSatisfying(fairyTale) + ) + .isInstanceOf(AssertionError.class) + .hasMessage(actualIsNull()); + } + + @Test + void should_fail_if_provided_consumer_is_null() { + assertThatThrownBy( + () -> assertThat(Validation.valid("something")).containsValidSatisfying((Condition) null) + ) + .isInstanceOf(NullPointerException.class) + .hasMessage("The condition to evaluate should not be null"); + } + + @Test + void should_pass_if_validation_contains_valid_value_satisfying_expected_conditions() { + assertThat(Validation.valid("Once upon a time")).containsValidSatisfying(fairyTale); + } + + @Test + void should_fail_if_validation_contains_valid_value_not_satisfying_expected_conditions() { + Validation actual = Validation.valid("something"); + + assertThatThrownBy( + () -> assertThat(actual).containsValidSatisfying(fairyTale) + ) + .isInstanceOf(AssertionError.class) + .hasMessage("\nExpecting actual:\n \"something\"\nto be a fairy tale"); + } + + @Test + void should_fail_if_validation_is_invalid() { + Validation actual = Validation.invalid("nothing"); + + assertThatThrownBy( + () -> assertThat(actual).containsValidSatisfying(fairyTale) + ) + .isInstanceOf(AssertionError.class) + .hasMessage(shouldBeValid(actual).create()); + } +} diff --git a/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValidSatisfying_Consumer_Test.java b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValidSatisfying_Consumer_Test.java new file mode 100644 index 0000000..99a7be6 --- /dev/null +++ b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValidSatisfying_Consumer_Test.java @@ -0,0 +1,74 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on + * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + * + * Copyright 2017-2023 the original author or authors. + */ +package org.assertj.vavr.api; + +import io.vavr.control.Validation; +import org.junit.jupiter.api.Test; + +import java.util.function.Consumer; + +import static org.assertj.core.api.Assertions.assertThat; +import static org.assertj.core.api.Assertions.assertThatThrownBy; +import static org.assertj.core.util.FailureMessages.actualIsNull; +import static org.assertj.vavr.api.ValidationShouldBeValid.shouldBeValid; +import static org.assertj.vavr.api.VavrAssertions.assertThat; + +class ValidationAssert_containsValidSatisfying_Consumer_Test { + + @Test + void should_fail_when_validation_is_null() { + assertThatThrownBy( + () -> assertThat((Validation) null).containsValidSatisfying(valid -> {}) + ) + .isInstanceOf(AssertionError.class) + .hasMessage(actualIsNull()); + } + + @Test + void should_fail_if_provided_consumer_is_null() { + assertThatThrownBy( + () -> assertThat(Validation.valid("something")).containsValidSatisfying((Consumer) null) + ) + .isInstanceOf(NullPointerException.class); + } + + @Test + void should_pass_if_validation_contains_valid_value_satisfying_expected_conditions() { + assertThat(Validation.valid("something")).containsValidSatisfying( + valid -> assertThat(valid).isEqualTo("something")); + } + + @Test + void should_fail_if_validation_contains_valid_value_not_satisfying_expected_conditions() { + Validation actual = Validation.valid("something"); + String expectedValue = "nothing"; + + assertThatThrownBy( + () -> assertThat(actual).containsValidSatisfying( + valid -> assertThat(valid).isEqualTo(expectedValue)) + ) + .isInstanceOf(AssertionError.class) + .hasMessage("\nexpected: \"nothing\"\n but was: \"something\""); + } + + @Test + void should_fail_if_validation_is_invalid() { + Validation actual = Validation.invalid("nothing"); + + assertThatThrownBy( + () -> assertThat(actual).containsValidSatisfying(valid -> {}) + ) + .isInstanceOf(AssertionError.class) + .hasMessage(shouldBeValid(actual).create()); + } +} diff --git a/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValid_Test.java b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValid_Test.java index c5fb611..d9b660c 100644 --- a/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValid_Test.java +++ b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValid_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValid_usingFieldByFieldValueComparator_Test.java b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValid_usingFieldByFieldValueComparator_Test.java index 4350eec..857a64a 100644 --- a/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValid_usingFieldByFieldValueComparator_Test.java +++ b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValid_usingFieldByFieldValueComparator_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValid_usingValueComparator_Test.java b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValid_usingValueComparator_Test.java index 904a0e0..e408d49 100644 --- a/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValid_usingValueComparator_Test.java +++ b/src/test/java/org/assertj/vavr/api/ValidationAssert_containsValid_usingValueComparator_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/ValidationAssert_isInvalid_Test.java b/src/test/java/org/assertj/vavr/api/ValidationAssert_isInvalid_Test.java index faa4387..995431d 100644 --- a/src/test/java/org/assertj/vavr/api/ValidationAssert_isInvalid_Test.java +++ b/src/test/java/org/assertj/vavr/api/ValidationAssert_isInvalid_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/ValidationAssert_isValid_Test.java b/src/test/java/org/assertj/vavr/api/ValidationAssert_isValid_Test.java index fffa6fe..772f669 100644 --- a/src/test/java/org/assertj/vavr/api/ValidationAssert_isValid_Test.java +++ b/src/test/java/org/assertj/vavr/api/ValidationAssert_isValid_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/Validation_assertion_methods_in_assumptions_Test.java b/src/test/java/org/assertj/vavr/api/Validation_assertion_methods_in_assumptions_Test.java index a05a445..8d7bda2 100644 --- a/src/test/java/org/assertj/vavr/api/Validation_assertion_methods_in_assumptions_Test.java +++ b/src/test/java/org/assertj/vavr/api/Validation_assertion_methods_in_assumptions_Test.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api; diff --git a/src/test/java/org/assertj/vavr/api/soft/AutoCloseableSoftVavrAssertionsTest.java b/src/test/java/org/assertj/vavr/api/soft/AutoCloseableSoftVavrAssertionsTest.java index 7903240..c0d0739 100644 --- a/src/test/java/org/assertj/vavr/api/soft/AutoCloseableSoftVavrAssertionsTest.java +++ b/src/test/java/org/assertj/vavr/api/soft/AutoCloseableSoftVavrAssertionsTest.java @@ -8,34 +8,17 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api.soft; import io.vavr.Lazy; -import io.vavr.Tuple; -import io.vavr.collection.HashMap; -import io.vavr.collection.HashMultimap; -import io.vavr.collection.HashSet; import io.vavr.collection.List; -import io.vavr.collection.Map; -import io.vavr.collection.Multimap; -import io.vavr.collection.Seq; -import io.vavr.collection.Set; -import io.vavr.control.Either; import io.vavr.control.Option; -import io.vavr.control.Try; -import io.vavr.control.Validation; import org.assertj.core.api.Assertions; -import org.assertj.core.api.Condition; -import org.assertj.vavr.api.VavrAssertions; import org.junit.jupiter.api.Test; import org.opentest4j.MultipleFailuresError; -import static java.lang.String.format; -import static java.util.Comparator.naturalOrder; -import static org.assertj.core.api.Assertions.assertThat; -import static org.assertj.core.data.Index.atIndex; import static org.assertj.vavr.api.soft.SoftVavrAssertionsHelper.runSoftlyAssertions; import static org.assertj.vavr.api.soft.SoftVavrAssertionsHelper.verifyErrors; import static org.junit.jupiter.api.Assertions.fail; diff --git a/src/test/java/org/assertj/vavr/api/soft/JUnitSoftVavrAssertionsFailureTest.java b/src/test/java/org/assertj/vavr/api/soft/JUnitSoftVavrAssertionsFailureTest.java index 9459721..064dbbc 100644 --- a/src/test/java/org/assertj/vavr/api/soft/JUnitSoftVavrAssertionsFailureTest.java +++ b/src/test/java/org/assertj/vavr/api/soft/JUnitSoftVavrAssertionsFailureTest.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api.soft; @@ -26,7 +26,6 @@ public class JUnitSoftVavrAssertionsFailureTest { -// @Rule public final JUnitSoftVavrAssertions softly = new JUnitSoftVavrAssertions(); @Test @@ -44,7 +43,7 @@ public void should_rule_for_soft_assertion_work() { // THEN List failures = multipleFailuresError.getFailures(); assertThat(failures).hasSize(2); - assertThat(failures.get(0)).hasMessageStartingWith(format("[contains] %nExpecting:%n %nto contain:%n <\"else\"> on the [LEFT]%nbut did not.")); + assertThat(failures.get(0)).hasMessageStartingWith(format("[contains] %nExpecting:%n %nto contain:%n <\"else\">%nbut did not.")); assertThat(failures.get(1)).hasMessageStartingWith(format("[instance] %nExpecting:%n" + " %n" + "to contain a value that is an instance of:%n" + diff --git a/src/test/java/org/assertj/vavr/api/soft/JUnitSoftVavrAssertionsSuccessTest.java b/src/test/java/org/assertj/vavr/api/soft/JUnitSoftVavrAssertionsSuccessTest.java index 69e68ce..3197945 100644 --- a/src/test/java/org/assertj/vavr/api/soft/JUnitSoftVavrAssertionsSuccessTest.java +++ b/src/test/java/org/assertj/vavr/api/soft/JUnitSoftVavrAssertionsSuccessTest.java @@ -8,22 +8,13 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api.soft; import io.vavr.control.Either; import org.junit.Rule; import org.junit.Test; -import org.junit.runners.model.Statement; -import org.opentest4j.MultipleFailuresError; - -import java.util.List; - -import static java.lang.String.format; -import static org.assertj.core.api.Assertions.assertThat; -import static org.assertj.core.api.Assertions.catchThrowableOfType; -import static org.mockito.Mockito.mock; public class JUnitSoftVavrAssertionsSuccessTest { @@ -39,4 +30,4 @@ public void should_rule_for_soft_assertion_work() { softly.assertThat(actual).as("instance").containsLeftInstanceOf(String.class); } -} \ No newline at end of file +} diff --git a/src/test/java/org/assertj/vavr/api/soft/SoftVavrAssertionsHelper.java b/src/test/java/org/assertj/vavr/api/soft/SoftVavrAssertionsHelper.java index d8b822d..2146ae2 100644 --- a/src/test/java/org/assertj/vavr/api/soft/SoftVavrAssertionsHelper.java +++ b/src/test/java/org/assertj/vavr/api/soft/SoftVavrAssertionsHelper.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api.soft; diff --git a/src/test/java/org/assertj/vavr/api/soft/SoftVavrAssertionsTest.java b/src/test/java/org/assertj/vavr/api/soft/SoftVavrAssertionsTest.java index a6e7a5e..e360b16 100644 --- a/src/test/java/org/assertj/vavr/api/soft/SoftVavrAssertionsTest.java +++ b/src/test/java/org/assertj/vavr/api/soft/SoftVavrAssertionsTest.java @@ -8,7 +8,7 @@ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * - * Copyright 2017-2022 the original author or authors. + * Copyright 2017-2023 the original author or authors. */ package org.assertj.vavr.api.soft;