public class FlipFlopTest extends Object
| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.ExpectedException |
thrown |
| Constructor and Description |
|---|
FlipFlopTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testFlippedOnceUsesAnswer1() |
void |
testFlippedTwiceUsesAnswer0() |
void |
testInitiallyUsesAnswer0() |
void |
testPluggableIsFlipped() |
void |
testPracticalUse()
The whole point of
FlipFlop is that you can initially use a lenient answer like
ReturnsEmptyValues, then switch to Strict after you have mocked out what
you needed. |
Copyright © 2017 Atlassian. All rights reserved.