Jkube: LazyBuilderTest.java: Replace hamcrest with AssertJ

Created on 23 Jul 2021  路  1Comment  路  Source: eclipse/jkube

Description

We are replacing the usage of Hamcrest assertions with AssertJ all over the project.

In LazyBuilderTest.java, replace any usage of Hamcrest with the AssertJ (org.assertj.core.api.Assertions.assertThat).

e.g.
https://github.com/eclipse/jkube/blob/fe0a1d88ce6ac5f5e8f64d470c8a134f66b9bc60/jkube-kit/common/src/test/java/org/eclipse/jkube/kit/common/util/LazyBuilderTest.java#L44-L45

should be changed to:

        assertThat(result).isEqualTo(10);
        assertThat(count).isEqualTo(1);
good first issue help wanted

Most helpful comment

Hello, can I be assigned this? I've replaced hamcrest with AssertJ.

>All comments

Hello, can I be assigned this? I've replaced hamcrest with AssertJ.

Was this page helpful?
0 / 5 - 0 ratings