@Documented @Retention(value=RUNTIME) @Target(value=FIELD) public @interface Sut
| Modifier and Type | Optional Element and Description |
|---|---|
String |
factoryMethod
Indicates the method in the system under test that should be used to create an instance
of the system under test.
|
boolean |
value
Indicates whether the system under test instance is a virtual instance (delegated mock).
|
boolean |
verify
Indicates whether all interaction between system under test and its collaborators should
be verified.
|
public abstract boolean value
Indicates whether the system under test instance is a virtual instance (delegated mock). This is useful if you wish to stub or verify package private methods of the system under test or verify certain interactions.
By default the SUT is not a virtual instance.
public abstract String factoryMethod
Copyright © 2016–2018 Testify Project. All rights reserved.