Search in sources :

Example 1 with NoNulls

use of org.cactoos.text.NoNulls in project cactoos by yegor256.

the class TextTest method okForNoNulls.

@Test
void okForNoNulls() {
    final String message = "Hello";
    new Assertion<>("Must work with NoNulls", new NoNulls(new TextOf(message)), new IsText(message)).affirm();
}
Also used : IsText(org.llorllale.cactoos.matchers.IsText) NoNulls(org.cactoos.text.NoNulls) TextOf(org.cactoos.text.TextOf) Test(org.junit.jupiter.api.Test)

Aggregations

NoNulls (org.cactoos.text.NoNulls)1 TextOf (org.cactoos.text.TextOf)1 Test (org.junit.jupiter.api.Test)1 IsText (org.llorllale.cactoos.matchers.IsText)1