public class UnitTestSupportAdapter extends Object implements UnitTestSupport
UnitTestSupport
interface. Implementing classes
should extend this class rather than implementing the interface directly;
that way, if new methods are added to the interface, the adapter will
absorb the change and the implementing classes won't break at compile time.Constructor and Description |
---|
UnitTestSupportAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears something; see the production code to determine what
is cleared.
|
void |
clear(Enum<?> id)
Clears something, using the specified id; see the production code
to determine what is cleared.
|
void |
reset()
Resets something; see the production code to determine what is reset.
|
void |
reset(Enum<?> id)
Resets something, using the specified id; see the production code
to determine what is reset.
|
void |
set()
Sets something; see the production code to determine what is set.
|
void |
set(Enum<?> id)
Sets something, using the specified id; see the production code
to determine what is set.
|
public void clear()
UnitTestSupport
clear
in interface UnitTestSupport
public void clear(Enum<?> id)
UnitTestSupport
clear
in interface UnitTestSupport
id
- an identifierpublic void reset()
UnitTestSupport
reset
in interface UnitTestSupport
public void reset(Enum<?> id)
UnitTestSupport
reset
in interface UnitTestSupport
id
- an identifierpublic void set()
UnitTestSupport
set
in interface UnitTestSupport
public void set(Enum<?> id)
UnitTestSupport
set
in interface UnitTestSupport
id
- an identifierCopyright © 2015. All Rights Reserved.