Package mockit
Class TestedFieldWithFailedConstructorDITest
java.lang.Object
mockit.TestedFieldWithFailedConstructorDITest
The Class TestedFieldWithFailedConstructorDITest.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Attempt to use tested object whose creation failed due to injectable without A value.void
Configure expected exception.
-
Field Details
-
thrown
public final org.junit.rules.ExpectedException thrownThe thrown.
-
-
Constructor Details
-
TestedFieldWithFailedConstructorDITest
public TestedFieldWithFailedConstructorDITest()
-
-
Method Details
-
configureExpectedException
public void configureExpectedException()Configure expected exception. -
attemptToUseTestedObjectWhoseCreationFailedDueToInjectableWithoutAValue
Attempt to use tested object whose creation failed due to injectable without A value.- Parameters:
s
- the s
-