public static class LoggingRuleTest.UsingJunitRuleAnnotation.FakeTest extends Object
Modifier and Type | Field and Description |
---|---|
org.junit.rules.RuleChain |
chain |
(package private) org.junit.rules.ExpectedException |
thrown |
Constructor and Description |
---|
FakeTest() |
Modifier and Type | Method and Description |
---|---|
void |
caught() |
void |
caughtByAnnotation() |
void |
failure() |
void |
success() |
org.junit.rules.ExpectedException thrown
public final org.junit.rules.RuleChain chain
public void success()
public void failure() throws LoggingRuleTest.CustomException
LoggingRuleTest.CustomException
public void caught() throws LoggingRuleTest.CustomException
LoggingRuleTest.CustomException
public void caughtByAnnotation() throws LoggingRuleTest.CustomException
LoggingRuleTest.CustomException
Copyright © 2021. All rights reserved.