def METHOD_NAME():
    def raise_(ex):  # just to test error in condition
        raise ex
    # Arrange
    check = (DummyCheck().add_condition('condition A', lambda _: True)
             .add_condition('condition B', lambda _: ConditionResult(ConditionCategory.FAIL, 'some result'))
             .add_condition('condition C', lambda _: ConditionResult(ConditionCategory.WARN, 'my actual'))
             .add_condition('condition F', lambda _: raise_(Exception('fail'))))
    decisions = check.conditions_decision(CheckResult(1))
    # Assert
    assert_that(decisions, has_items(
        all_of(
            has_property('name', 'condition A'),
            has_property('category', ConditionCategory.PASS),
            has_property('details', '')
        ),
        all_of(
            has_property('name', 'condition B'),
            has_property('category', ConditionCategory.FAIL),
            has_property('details', 'some result')
        ),
        all_of(
            has_property('name', 'condition C'),
            has_property('category', ConditionCategory.WARN),
            has_property('details', 'my actual')
        ),
        all_of(
            has_property('name', 'condition F'),
            has_property('category', ConditionCategory.ERROR),
            has_property('details', 'Exception in condition: Exception: fail')
        )
    ))