Top Methods
org.assertj.core.api

public Interface SoftAssertionsRule

extends SoftAssertionsProvider, TestRule
Known Direct Implementers
org.assertj.core.api.Java6JUnitBDDSoftAssertions, org.assertj.core.api.Java6JUnitSoftAssertions, org.assertj.core.api.JUnitBDDSoftAssertions, org.assertj.core.api.JUnitSoftAssertions
Static Imports
org.assertj.core.api.SoftAssertionsStatement.softAssertionsStatement

Method Summary

Modifier and TypeMethod and Description
public default Statement
apply(final Statement
The Statement to be modified
base
,
Description
A Description of the test implemented in base
description
)

Implements org.junit.rules.TestRule.apply.

Modifies the method-running Statement to implement this test-running rule.
Inherited from org.assertj.core.api.SoftAssertionsProvider:
assertAllassertAlsoassertSoftlycheckproxy

Method Detail

applyback to summary
public default Statement apply(final Statement base, Description description)

Implements org.junit.rules.TestRule.apply.

Doc from org.junit.rules.TestRule.apply.

Modifies the method-running Statement to implement this test-running rule.

Parameters
base:Statement

The Statement to be modified

description:Description

A Description of the test implemented in base

Returns:Statement

a new statement, which may be the same as base, a wrapper around base, or a completely new Statement.

Annotations
@Override