Index
All Classes and Interfaces|All Packages
$
- $init(String, CallbackHandler) - Method in class mockit.MockLoginContextTest.MockLoginContext
A
- abort() - Method in class mockit.MockLoginContextTest.TestLoginModule
- AbstractBase() - Constructor for class mockit.MockUpForSingleClassInstanceTest.AbstractBase
- accessCurrentMockedInstanceFromInsideMockMethodForAnyInstanceOfTheMockedClass() - Method in class mockit.MockUpForSingleClassInstanceTest
- accessCurrentMockedInstanceFromInsideMockMethodForSingleMockedInstance() - Method in class mockit.MockUpForSingleClassInstanceTest
- afterBase() - Method in class mockit.integration.junit4.BaseJUnit4DecoratorTest
- afterBase() - Method in class otherTests.testng.BaseTestNGDecoratorTest
- afterClass() - Static method in class mockit.integration.junit4.BaseJUnit4DecoratorTest
- afterTest() - Method in class mockit.integration.junit4.JUnit4DecoratorTest
- afterTest() - Method in class otherTests.testng.TestNGDecoratorTest
- alwaysTrue() - Static method in class mockit.integration.junit4.AnotherDependency
- alwaysTrue() - Static method in class mockit.integration.junit4.Dependency
- ambiguousCascadingWhenMultipleValidCandidatesAreAvailable(Runnable, Runnable) - Method in class mockit.MisusedMockingAPITest
-
Ambiguous cascading when multiple valid candidates are available.
- aMethod(T1) - Method in class mockit.MockUpForGenericsTest.GenericClass
- AnotherDependency - Class in mockit.integration.junit4
- AnotherDependency() - Constructor for class mockit.integration.junit4.AnotherDependency
- anotherMethod(Integer, int, String) - Method in class mockit.MockUpForGenericsTest.GenericClass
- anotherMethod(T1, int, T2) - Method in class mockit.MockUpForGenericsTest.GenericClass
- anotherMethodToBeFaked(String, boolean, List<Integer>) - Method in class mockit.FakeInvocationProceedTest.ClassToBeFaked
-
Another method to be faked.
- anotherMethodToBeMocked(String, boolean, List<Integer>) - Method in class mockit.MockInvocationProceedTest.ClassToBeMocked
- applyAndUseFakesAgain() - Method in class otherTests.testng.TestNGDecoratorTest
- applyAndUseSomeFakes() - Method in class otherTests.testng.TestNGDecoratorTest
- applyFakes() - Static method in class mockit.integration.junit4.ThirdJUnit4DecoratorTest
- applyMockupWithGivenSubclassInstance() - Method in class mockit.MockUpForSingleClassInstanceTest
- AssertionErrorMessagesTest - Class in mockit
-
The Class AssertionErrorMessagesTest.
- AssertionErrorMessagesTest() - Constructor for class mockit.AssertionErrorMessagesTest
- attemptingToMockAllInstancesOfExceptionSubclass(MisusedMockingAPITest.CustomException) - Method in class mockit.MisusedMockingAPITest
-
Attempting to mock all instances of exception subclass.
- attemptToCreateTestedObjectThroughAnnotatedConstructorWithMissingInjectables() - Method in class mockit.StandardDI2Test
-
Attempt to create tested object through annotated constructor with missing injectables.
- attemptToInstantiateTestedClassWithNoInjectables() - Method in class mockit.TestedClassInjectedFromMockParametersTest
-
Attempt to instantiate tested class with no injectables.
- attemptToMockUnmockableJREClass(DataInputStream) - Method in class mockit.JREMockingTest
-
Attempt to mock unmockable JRE class.
- attemptToMockUnmockableJREClass(FileInputStream) - Method in class mockit.JREMockingTest
-
Attempt to mock unmockable JRE class.
- attemptToMockUnmockableJREClass(FileOutputStream) - Method in class mockit.JREMockingTest
-
Attempt to mock unmockable JRE class.
- attemptToMockUnmockableJREClass(FileWriter) - Method in class mockit.JREMockingTest
-
Attempt to mock unmockable JRE class.
- attemptToMockUnmockableJREClass(PrintWriter) - Method in class mockit.JREMockingTest
-
Attempt to mock unmockable JRE class.
- attemptToMockUnmockableJREClass(Writer) - Method in class mockit.JREMockingTest
-
Attempt to mock unmockable JRE class.
- attemptToMockUnmockableJREClass(Class<?>) - Method in class mockit.JREMockingTest
-
Attempt to mock unmockable JRE class.
- attemptToMockUnmockableJREClass(ClassLoader) - Method in class mockit.JREMockingTest
-
Attempt to mock unmockable JRE class.
- attemptToMockUnmockableJREClass(Enum<?>) - Method in class mockit.JREMockingTest
-
Attempt to mock unmockable JRE class.
- attemptToMockUnmockableJREClass(Exception) - Method in class mockit.JREMockingTest
-
Attempt to mock unmockable JRE class.
- attemptToMockUnmockableJREClass(Math) - Method in class mockit.JREMockingTest
-
Attempt to mock unmockable JRE class.
- attemptToMockUnmockableJREClass(Object) - Method in class mockit.JREMockingTest
-
Attempt to mock unmockable JRE class.
- attemptToMockUnmockableJREClass(StrictMath) - Method in class mockit.JREMockingTest
-
Attempt to mock unmockable JRE class.
- attemptToMockUnmockableJREClass(StringBuffer) - Method in class mockit.JREMockingTest
-
Attempt to mock unmockable JRE class.
- attemptToMockUnmockableJREClass(StringBuilder) - Method in class mockit.JREMockingTest
-
Attempt to mock unmockable JRE class.
- attemptToMockUnmockableJREClass(System) - Method in class mockit.JREMockingTest
-
Attempt to mock unmockable JRE class.
- attemptToMockUnmockableJREClass(Thread) - Method in class mockit.JREMockingTest
-
Attempt to mock unmockable JRE class.
- attemptToMockUnmockableJREClass(ThreadLocal<?>) - Method in class mockit.JREMockingTest
-
Attempt to mock unmockable JRE class.
- attemptToMockUnmockableJREClass(Throwable) - Method in class mockit.JREMockingTest
-
Attempt to mock unmockable JRE class.
- attemptToMockUnmockableJREClass(Duration) - Method in class mockit.JREMockingTest
-
Attempt to mock unmockable JRE class.
- attemptToMockUnmockableJREClass(Attributes) - Method in class mockit.JREMockingTest
-
Attempt to mock unmockable JRE class.
- attemptToMockUnmockableJREClass(JarEntry) - Method in class mockit.JREMockingTest
-
Attempt to mock unmockable JRE class.
- attemptToMockUnmockableJREClass(JarFile) - Method in class mockit.JREMockingTest
-
Attempt to mock unmockable JRE class.
- attemptToMockUnmockableJREClass(Manifest) - Method in class mockit.JREMockingTest
-
Attempt to mock unmockable JRE class.
- attemptToPartiallyMockAClass() - Method in class mockit.PartialMockingTest
-
Attempt to partially mock A class.
- attemptToPartiallyMockNativeMethod() - Method in class mockit.PartialMockingTest
-
Attempt to partially mock native method.
- attemptToProceedIntoInterfaceImplementation() - Method in class mockit.MockAnnotationsTest
- attemptToReturnValueNotCompatibleWithBooleanReturnType() - Method in class mockit.ExpectationsUsingReturnTypeConversionTest
-
Attempt to return value not compatible with boolean return type.
- attemptToReturnValueNotCompatibleWithBooleanWrapperReturnType() - Method in class mockit.ExpectationsUsingReturnTypeConversionTest
-
Attempt to return value not compatible with boolean wrapper return type.
- attemptToReturnValueNotCompatibleWithPrimitiveReturnType() - Method in class mockit.ExpectationsUsingReturnTypeConversionTest
-
Attempt to return value not compatible with primitive return type.
- attemptToReturnValueNotCompatibleWithPrimitiveWrapperReturnType() - Method in class mockit.ExpectationsUsingReturnTypeConversionTest
-
Attempt to return value not compatible with primitive wrapper return type.
- attemptToReturnValueOfReferenceTypeNotAssignableToReturnType() - Method in class mockit.ExpectationsUsingReturnTypeConversionTest
-
Attempt to return value of reference type not assignable to return type.
- attemptToReturnValueOfTypeListFromMethodReturningIterator(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Attempt to return value of type list from method returning iterator.
- attemptToReturnValueOfTypeSetFromMethodReturningIterator(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Attempt to return value of type set from method returning iterator.
- attemptToSetUpMockForClassLackingAMatchingRealMethod() - Method in class mockit.MockAnnotationsTest
- attemptToUseConstructorDelegateWithPrivateMethodsOnly(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Attempt to use constructor delegate with private methods only.
- attemptToUseDynamicMockingForInvalidTypes(PartialMockingTest.AnotherInterface, PartialMockingTest.NonPublicInterface) - Method in class mockit.PartialMockingTest
-
Attempt to use dynamic mocking for invalid types.
- attemptToUseTestedObjectWhoseCreationFailedDueToInjectableWithNullValue() - Method in class mockit.TestedFieldWithFailedFullDITest
-
Attempt to use tested object whose creation failed due to injectable with null value.
- attemptToUseTestedObjectWhoseCreationFailedDueToInjectableWithNullValue2() - Method in class mockit.TestedFieldWithFailedFullDITest
-
Attempt to use tested object whose creation failed due to injectable with null value 2.
- attemptToUseTestedObjectWhoseCreationFailedDueToInjectableWithoutAValue(String) - Method in class mockit.TestedFieldWithFailedConstructorDITest
-
Attempt to use tested object whose creation failed due to injectable without A value.
B
- BaseClass - Class in otherTests
-
The Class BaseClass.
- BaseClass() - Constructor for class otherTests.BaseClass
- BaseClassToBeFaked() - Constructor for class mockit.FakeInvocationProceedTest.BaseClassToBeFaked
- BaseClassToBeMocked() - Constructor for class mockit.MockInvocationProceedTest.BaseClassToBeMocked
- BaseCollaborator() - Constructor for class mockit.ExpectationsForConstructorsTest.BaseCollaborator
-
Instantiates a new base collaborator.
- BaseCollaborator(int) - Constructor for class mockit.ExpectationsForConstructorsTest.BaseCollaborator
-
Instantiates a new base collaborator.
- baseInt - Variable in class otherTests.BaseClass
-
The base int.
- BaseJUnit4DecoratorTest - Class in mockit.integration.junit4
- BaseJUnit4DecoratorTest() - Constructor for class mockit.integration.junit4.BaseJUnit4DecoratorTest
- BaseJUnit4DecoratorTest.FakeClass0 - Class in mockit.integration.junit4
- BaseJUnit4DecoratorTest.FakeClass1 - Class in mockit.integration.junit4
- BaseJUnit4DecoratorTest.RealClass0 - Class in mockit.integration.junit4
- BaseJUnit4DecoratorTest.RealClass1 - Class in mockit.integration.junit4
- baseMethod(int) - Method in class mockit.FakeInvocationProceedTest.BaseClassToBeFaked
-
Base method.
- baseMethod(int) - Method in class mockit.MockInvocationProceedTest.BaseClassToBeMocked
- baseSet - Variable in class otherTests.BaseClass
-
The base set.
- baseString - Variable in class otherTests.BaseClass
-
The base string.
- BaseTestNGDecoratorTest - Class in otherTests.testng
- BaseTestNGDecoratorTest() - Constructor for class otherTests.testng.BaseTestNGDecoratorTest
- BaseTestNGDecoratorTest.FakeClass1 - Class in otherTests.testng
- beforeBase() - Method in class mockit.integration.junit4.BaseJUnit4DecoratorTest
- beforeBase() - Method in class otherTests.testng.BaseTestNGDecoratorTest
- beforeClass() - Static method in class mockit.integration.junit4.BaseJUnit4DecoratorTest
- beforeClassThatRunsFirst() - Static method in class mockit.integration.junit4.JUnit4DecoratorTest
- beforeClassThatRunsSecond() - Static method in class mockit.integration.junit4.JUnit4DecoratorTest
C
- cannotCallGenericMethodWhenSomeMockMethodExpectsDifferentTypes() - Method in class mockit.MockUpForGenericsTest
- cannotProceedFromFakeMethodIntoNativeMethod() - Method in class mockit.FakeInvocationProceedTest
-
Cannot proceed from fake method into native method.
- cannotProceedFromMockMethodIntoNativeMethod() - Method in class mockit.MockInvocationProceedTest
- cascadeFistTime() - Method in class otherTests.testng.TestNGSharedMockFieldTest
- cascadeSecondTime() - Method in class otherTests.testng.TestNGSharedMockFieldTest
- catchUnexpectedInvocationAndContinue(ExpectationsWithInvocationCountsTest.Collaborator) - Method in class mockit.ExpectationsWithInvocationCountsTest
-
Catch unexpected invocation and continue.
- checkCounter() - Method in class otherTests.testng.ParallelExecutionTest
- checkNoMockingOfParametersWhenUsingDataProvider(TestNGDecoratorTest.Temp) - Method in class otherTests.testng.TestNGDecoratorTest
- checkStaticInjectableIsNotUsed() - Method in class mockit.MisusedMockingAPITest
-
Check static injectable is not used.
- classFakedInSecondTestClassMustNotBeFakedForThisTestClass() - Method in class mockit.integration.junit4.JUnit4DecoratorTest
- ClassToBeFaked() - Constructor for class mockit.FakeInvocationProceedTest.ClassToBeFaked
-
Instantiates a new class to be faked.
- ClassToBeFaked(String) - Constructor for class mockit.FakeInvocationProceedTest.ClassToBeFaked
-
Instantiates a new class to be faked.
- ClassToBeMocked() - Constructor for class mockit.MockInvocationProceedTest.ClassToBeMocked
- ClassToBeMocked(String) - Constructor for class mockit.MockInvocationProceedTest.ClassToBeMocked
- ClassToBeTested(String) - Constructor for class mockit.TestedAndMockedTest.ClassToBeTested
-
Instantiates a new class to be tested.
- ClassWithObjectOverrides - Class in mockit
-
The Class ClassWithObjectOverrides.
- ClassWithObjectOverrides(String) - Constructor for class mockit.ClassWithObjectOverrides
-
Instantiates a new class with object overrides.
- Client - Class in otherTests.multicast
- Client(String) - Constructor for class otherTests.multicast.Client
- clone() - Method in class mockit.ClassWithObjectOverrides
- Collaborator - Class in mockit.integration
- Collaborator() - Constructor for class mockit.integration.Collaborator
- Collaborator() - Constructor for class mockit.MockUpForGenericsTest.Collaborator
- Collaborator() - Constructor for class otherTests.testng.TestNGSharedMockFieldTest.Collaborator
- Collaborator(int) - Constructor for class mockit.MockInvocationTest.Collaborator
- commit() - Method in class mockit.MockLoginContextTest.TestLoginModule
- concurrentMock() - Method in class mockit.MockAnnotationsTest
- configureExpectedException() - Method in class mockit.TestedFieldWithFailedConstructorDITest
-
Configure expected exception.
- configureExpectedException() - Method in class mockit.TestedFieldWithFailedFullDITest
-
Configure expected exception.
- consecutiveResultsThroughDelegatesHavingDifferentValues(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Consecutive results through delegates having different values.
- consecutiveReturnValuesThroughDelegatesUsingSingleReturnsWithVarargs(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Consecutive return values through delegates using single returns with varargs.
- constructorDelegateWithMultipleMethods(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Constructor delegate with multiple methods.
- constructorDelegateWithSingleMethod(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Constructor delegate with single method.
- convertArrayToStream(ExpectationsUsingReturnTypeConversionTest.Java8Collaborator) - Method in class mockit.ExpectationsUsingReturnTypeConversionTest
-
Convert array to stream.
- convertCollectionToStream(ExpectationsUsingReturnTypeConversionTest.Java8Collaborator) - Method in class mockit.ExpectationsUsingReturnTypeConversionTest
-
Convert collection to stream.
- convertNumberValueToNarrowerNumericalReturnTypeWhenTheActualValueDoesNotFitTheReturnType() - Method in class mockit.ExpectationsUsingReturnTypeConversionTest
-
Convert number value to narrower numerical return type when the actual value does not fit the return type.
- convertNumberValueToNarrowerNumericalReturnTypeWhenTheActualValueFitsTheReturnType() - Method in class mockit.ExpectationsUsingReturnTypeConversionTest
-
Convert number value to narrower numerical return type when the actual value fits the return type.
- convertNumberValueToWiderNumericalReturnType() - Method in class mockit.ExpectationsUsingReturnTypeConversionTest
-
Convert number value to wider numerical return type.
- convertRecordedTextualResultForMethodsWithEligibleReturnTypes() - Method in class mockit.ExpectationsUsingReturnTypeConversionTest
-
Convert recorded textual result for methods with eligible return types.
- convertSingleValueToStream(ExpectationsUsingReturnTypeConversionTest.Java8Collaborator) - Method in class mockit.ExpectationsUsingReturnTypeConversionTest
-
Convert single value to stream.
- convertTextualAndNumericalResultsToNumberSubtypes() - Method in class mockit.ExpectationsUsingReturnTypeConversionTest
-
Convert textual and numerical results to number subtypes.
- convertValueReturnedFromDelegateWhenReturnsTypesDiffer(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Convert value returned from delegate when returns types differ.
- convertValueToOptionalOfValue(ExpectationsUsingReturnTypeConversionTest.Java8Collaborator) - Method in class mockit.ExpectationsUsingReturnTypeConversionTest
-
Convert value to optional of value.
- createAppropriateContainerFromSingleRecordedValueOfTheElementType(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Creates the appropriate container from single recorded value of the element type.
- createArrayFromSingleRecordedValueOfTheElementType(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Creates the array from single recorded value of the element type.
- createData1() - Method in class otherTests.testng.TestNGDecoratorTest
- createTest() - Method in class mockit.integration.junit4.JUnit4CustomRunnerTest.CustomRunner
- CustomRunner(Class<?>) - Constructor for class mockit.integration.junit4.JUnit4CustomRunnerTest.CustomRunner
D
- data() - Method in class otherTests.testng.TestNGParametersTest
- declareFieldInExpectationBlockWithNameHavingSamePrefixAsArgumentMatchingField() - Method in class mockit.ExpectationsWithArgMatchersTest
-
Declare field in expectation block with name having same prefix as argument matching field.
- declareMethodInExpectationBlockWithNameHavingSamePrefixAsArgumentMatchingMethod() - Method in class mockit.ExpectationsWithArgMatchersTest
-
Declare method in expectation block with name having same prefix as argument matching method.
- delegateCallingMockedMethodLaterVerified(DelegateTest.Collaborator, Runnable) - Method in class mockit.DelegateTest
-
Delegate calling mocked method later verified.
- delegateCausingConcurrentMockInvocation(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Delegate causing concurrent mock invocation.
- delegateForFinalMethod(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Delegate for final method.
- delegateForMethodWithCompatibleButDistinctParameterType(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Delegate for method with compatible but distinct parameter type.
- delegateForNativeMethod(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Delegate for native method.
- delegateForStaticMethod(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Delegate for static method.
- delegateReceivingNullArguments(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Delegate receiving null arguments.
- DelegateTest - Class in mockit
-
The Class DelegateTest.
- DelegateTest() - Constructor for class mockit.DelegateTest
- delegateWhichCallsAnotherMockedMethod(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Delegate which calls another mocked method.
- delegateWhichCallsAnotherMockedMethod_injectableMocking(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Delegate which calls another mocked method injectable mocking.
- delegateWhichCallsAnotherMockedMethod_partialMockingOfInstance() - Method in class mockit.DelegateTest
-
Delegate which calls another mocked method partial mocking of instance.
- delegateWhichCallsAnotherMockedMethodProducingACascadedInstance(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Delegate which calls another mocked method producing A cascaded instance.
- delegateWhichCallsTheSameMockedMethod(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Delegate which calls the same mocked method.
- delegateWithOneMethodHavingDifferentParameters(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Delegate with one method having different parameters.
- delegateWithSingleMethodHavingADifferentName(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Delegate with single method having A different name.
- delegateWithSingleMethodHavingNoParameters(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Delegate with single method having no parameters.
- delegateWithSingleMethodHavingNoParametersExceptForInvocationContext(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Delegate with single method having no parameters except for invocation context.
- delegateWithStaticMethod(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Delegate with static method.
- delegateWithTwoMethods(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Delegate with two methods.
- delegateWithTwoNonPrivateMethods(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Delegate with two non private methods.
- Dependency - Class in mockit.integration.junit4
- Dependency() - Constructor for class mockit.ExpectationsTest.Dependency
-
Deprecated.
- Dependency() - Constructor for class mockit.FullVerificationsTest.Dependency
- Dependency() - Constructor for class mockit.integration.junit4.Dependency
- Dependency() - Constructor for class mockit.VerificationsInOrderTest.Dependency
- Dependency() - Constructor for class mockit.VerificationsTest.Dependency
- dispatch() - Method in class otherTests.multicast.Message
-
Sends the message contents to all clients, notifying the status listener about the corresponding events as they occur.
- doSomeOperation(int, String) - Method in class mockit.TestedAndMockedTest.ClassToBeTested
-
Do some operation.
- doSomething() - Method in class mockit.integration.Collaborator
- doSomething() - Method in interface mockit.MockAnnotationsTest.AnInterface
- doSomething() - Static method in class mockit.MockUpForSingleClassInstanceTest.AClass
- doSomething() - Method in interface otherTests.testng.TestNGSharedMockFieldTest.BaseType
- doSomething() - Method in interface otherTests.testng.TestNGSharedMockFieldTest.Dependency
- doSomething(boolean, int[], String) - Method in class mockit.MockInvocationTest.Collaborator
- doSomething(int) - Method in class mockit.integration.MockedClass
- doSomething(int) - Method in class mockit.MockUpForSingleClassInstanceTest.AbstractBase
- doSomething(int) - Method in class otherTests.TestedClass
-
Do something.
- doSomething(Integer, boolean) - Method in class mockit.ExpectationsTest.Dependency
-
Deprecated.Do something.
- doSomething(String...) - Method in interface mockit.ExpectationsWithVarArgsMatchersTest.Dependency
-
Do something.
- doSomething(String, T) - Method in class mockit.MockUpForSingleClassInstanceTest.GenericAbstractBase
- doSomethingElse() - Method in class mockit.MockUpForSingleClassInstanceTest.AbstractBase
- doSomethingElse() - Method in interface otherTests.testng.TestNGSharedMockFieldTest.Dependency
- doSomethingElse(int) - Method in class mockit.integration.MockedClass
- dynamicallyMockAnAnonymousClassInstanceThroughTheImplementedInterface() - Method in class mockit.PartialMockingTest
-
Dynamically mock an anonymous class instance through the implemented interface.
- dynamicallyMockAnInstance() - Method in class mockit.PartialMockingTest
-
Dynamically mock an instance.
- dynamicallyMockASubCollaboratorInstance() - Method in class mockit.PartialMockingTest
-
Dynamically mock A sub collaborator instance.
- dynamicMockFullyVerified_verifyAllRecordedExpectationsButNotAllOfTheReplayedOnes() - Method in class mockit.PartialMockingTest
-
Dynamic mock fully verified verify all recorded expectations but not all of the replayed ones.
- dynamicMockFullyVerifiedInOrder_verifyAllRecordedExpectationsButNotAllOfTheReplayedOnes() - Method in class mockit.PartialMockingTest
-
Dynamic mock fully verified in order verify all recorded expectations but not all of the replayed ones.
- DynamicMockingInBeforeMethodTest - Class in otherTests.testng
- DynamicMockingInBeforeMethodTest() - Constructor for class otherTests.testng.DynamicMockingInBeforeMethodTest
- dynamicMockingOfAnnotatedJREMethod() - Method in class mockit.JREMockingTest
-
Dynamic mocking of annotated JRE method.
- dynamicMockingOfFileOutputStreamThroughMockField() - Method in class mockit.JREMockingTest
-
Dynamic mocking of file output stream through mock field.
- dynamicPartialMockingWithExactArgumentMatching() - Method in class mockit.PartialMockingTest
-
Dynamic partial mocking with exact argument matching.
- dynamicPartialMockingWithFlexibleArgumentMatching() - Method in class mockit.PartialMockingTest
-
Dynamic partial mocking with flexible argument matching.
- dynamicPartialMockingWithInstanceSpecificMatching() - Method in class mockit.PartialMockingTest
-
Dynamic partial mocking with instance specific matching.
- dynamicPartialMockingWithInstanceSpecificMatchingOnTwoInstancesOfSameClass() - Method in class mockit.PartialMockingTest
-
Dynamic partial mocking with instance specific matching on two instances of same class.
E
- editABunchMoreStuff() - Method in class mockit.ExpectationsTest.Dependency
-
Deprecated.Edits the A bunch more stuff.
- editABunchMoreStuff() - Method in class mockit.FullVerificationsTest.Dependency
-
Edits the A bunch more stuff.
- editABunchMoreStuff() - Method in class mockit.VerificationsInOrderTest.Dependency
-
Edits the A bunch more stuff.
- editABunchMoreStuff() - Method in class mockit.VerificationsTest.Dependency
-
Edits the A bunch more stuff.
- equals(Object) - Method in class mockit.ClassWithObjectOverrides
- exercisePublicMethodWhileHavingHelperMethodsMocked() - Method in class mockit.TestedAndMockedTest
-
Exercise public method while having helper methods mocked.
- exerciseTestedObjectWithValuesInjectedFromMockFields() - Method in class mockit.TestedClassWithConstructorDI4Test
-
Exercise tested object with values injected from mock fields.
- exerciseTestedObjectWithValuesInjectedFromMockParameters(Callable<Number>, Callable<Number>) - Method in class mockit.TestedClassWithConstructorDI4Test
-
Exercise tested object with values injected from mock parameters.
- exerciseTopLevelTestedObjectTogetherWithInjectedSecondLevelTestedObject() - Method in class mockit.TestedAndMockedTest
-
Exercise top level tested object together with injected second level tested object.
- expectationRecordedWithNotNullMatcherForVarargsParameter() - Method in class mockit.ExpectationsWithVarArgsMatchersTest
-
Expectation recorded with not null matcher for varargs parameter.
- ExpectationsForConstructorsTest - Class in mockit
-
The Class ExpectationsForConstructorsTest.
- ExpectationsForConstructorsTest() - Constructor for class mockit.ExpectationsForConstructorsTest
- ExpectationsForConstructorsTest.BaseCollaborator - Class in mockit
-
The Class BaseCollaborator.
- expectationsRecordedOnSameMethodWithMatcherInOneAndFixedArgumentInAnother() - Method in class mockit.ExpectationsTest
-
Expectations recorded on same method with matcher in one and fixed argument in another.
- expectationsRecordedOnSameMethodWithSameMatchersButDifferentArguments() - Method in class mockit.ExpectationsTest
-
Expectations recorded on same method with same matchers but different arguments.
- ExpectationsTest - Class in mockit
-
The Class ExpectationsTest.
- ExpectationsTest() - Constructor for class mockit.ExpectationsTest
- ExpectationsTest.Dependency - Class in mockit
-
Deprecated.
- ExpectationsUsingResultFieldTest - Class in mockit
-
The Class ExpectationsUsingResultFieldTest.
- ExpectationsUsingResultFieldTest() - Constructor for class mockit.ExpectationsUsingResultFieldTest
- ExpectationsUsingReturnTypeConversionTest - Class in mockit
-
The Class ExpectationsUsingReturnTypeConversionTest.
- ExpectationsUsingReturnTypeConversionTest() - Constructor for class mockit.ExpectationsUsingReturnTypeConversionTest
- ExpectationsWithArgMatchersTest - Class in mockit
-
The Class ExpectationsWithArgMatchersTest.
- ExpectationsWithArgMatchersTest() - Constructor for class mockit.ExpectationsWithArgMatchersTest
- ExpectationsWithInvocationCountsTest - Class in mockit
-
The Class ExpectationsWithInvocationCountsTest.
- ExpectationsWithInvocationCountsTest() - Constructor for class mockit.ExpectationsWithInvocationCountsTest
- ExpectationsWithVarArgsMatchersTest - Class in mockit
-
The Class ExpectationsWithVarArgsMatchersTest.
- ExpectationsWithVarArgsMatchersTest() - Constructor for class mockit.ExpectationsWithVarArgsMatchersTest
- ExpectationsWithVarArgsMatchersTest.Dependency - Interface in mockit
-
The Interface Dependency.
- expectAtLeastOnceAndReplayTwice(ExpectationsWithInvocationCountsTest.Collaborator) - Method in class mockit.ExpectationsWithInvocationCountsTest
-
Expect at least once and replay twice.
- expectAtLeastOnceAndReplayTwice(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Expect at least once and replay twice.
- expectAtLeastOneInvocationMatchingStrictExpectationButInvokeNone(ExpectationsWithInvocationCountsTest.Collaborator) - Method in class mockit.ExpectationsWithInvocationCountsTest
-
Expect at least one invocation matching strict expectation but invoke none.
- expectAtLeastTwiceButReplayOnceWithSingleExpectation(ExpectationsWithInvocationCountsTest.Collaborator) - Method in class mockit.ExpectationsWithInvocationCountsTest
-
Expect at least twice but replay once with single expectation.
- expectAtLeastTwiceButReplayOnceWithTwoConsecutiveExpectations(ExpectationsWithInvocationCountsTest.Collaborator) - Method in class mockit.ExpectationsWithInvocationCountsTest
-
Expect at least twice but replay once with two consecutive expectations.
- expectAtMostOnceButReplayTwice(ExpectationsWithInvocationCountsTest.Collaborator) - Method in class mockit.ExpectationsWithInvocationCountsTest
-
Expect at most once but replay twice.
- expectAtMostOnceButReplayTwice(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Expect at most once but replay twice.
- expectAtMostTwiceAndReplayOnce(ExpectationsWithInvocationCountsTest.Collaborator) - Method in class mockit.ExpectationsWithInvocationCountsTest
-
Expect at most twice and replay once.
- expectAtMostTwiceAndReplayOnce(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Expect at most twice and replay once.
- expectAtMostZero(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Expect at most zero.
- expectAtMostZeroButReplayOnce(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Expect at most zero but replay once.
- expectExactlyTwiceButReplayMoreTimes(ExpectationsWithInvocationCountsTest.Collaborator) - Method in class mockit.ExpectationsWithInvocationCountsTest
-
Expect exactly twice but replay more times.
- expectInvocationOnMethodWithVarargsArgumentUsingArgumentMatchers() - Method in class mockit.ExpectationsWithVarArgsMatchersTest
-
Expect invocation on method with varargs argument using argument matchers.
- expectInvocationOnVarargsMethodWithMatcherOnlyForRegularFirstParameter() - Method in class mockit.ExpectationsWithVarArgsMatchersTest
-
Expect invocation on varargs method with matcher only for regular first parameter.
- expectInvocationsWithHamcrestMatcher() - Method in class mockit.ExpectationsWithArgMatchersTest
- expectInvocationsWithHamcrestMatcher2() - Method in class mockit.ExpectationsWithArgMatchersTest
- expectInvocationsWithMatcherForVarargsParameterOnly() - Method in class mockit.ExpectationsWithVarArgsMatchersTest
-
Expect invocations with matcher for varargs parameter only.
- expectInvocationsWithNamedDelegateMatcher() - Method in class mockit.ExpectationsWithArgMatchersTest
-
Expect invocations with named delegate matcher.
- expectInvocationsWithNonNullRegularArgumentAndAnyVarargs() - Method in class mockit.ExpectationsWithVarArgsMatchersTest
-
Expect invocations with non null regular argument and any varargs.
- expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_1(Collaborator) - Method in class mockit.integration.junit4.JUnit4ViolatedExpectationsTest
- expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_1(Collaborator) - Method in class otherTests.testng.TestNGViolatedExpectationsTest
- expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_2(Collaborator) - Method in class mockit.integration.junit4.JUnit4ViolatedExpectationsTest
- expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_2(Collaborator) - Method in class otherTests.testng.TestNGViolatedExpectationsTest
- expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_3(Collaborator) - Method in class otherTests.testng.TestNGViolatedExpectationsTest
- expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_4(Collaborator) - Method in class mockit.integration.junit4.JUnit4ViolatedExpectationsTest
- expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_4(Collaborator) - Method in class otherTests.testng.TestNGViolatedExpectationsTest
- expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_5(Collaborator) - Method in class mockit.integration.junit4.JUnit4ViolatedExpectationsTest
- expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_5(Collaborator) - Method in class otherTests.testng.TestNGViolatedExpectationsTest
- expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_6(Collaborator) - Method in class mockit.integration.junit4.JUnit4ViolatedExpectationsTest
- expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_6(Collaborator) - Method in class otherTests.testng.TestNGViolatedExpectationsTest
- expectInvocationWithAnyNumberOfVariableArguments() - Method in class mockit.ExpectationsWithVarArgsMatchersTest
-
Expect invocation with any number of variable arguments.
- expectInvocationWithMatcherContainingAnotherMatcher() - Method in class mockit.ExpectationsWithArgMatchersTest
- expectInvocationWithMatchersForAllParametersAndVarargsValuesButReplayWithDifferentVarargValue() - Method in class mockit.ExpectationsWithVarArgsMatchersTest
-
Expect invocation with matchers for all parameters and varargs values but replay with different vararg value.
- expectInvocationWithMatchersForRegularParametersAndAllVarargsValues() - Method in class mockit.ExpectationsWithVarArgsMatchersTest
-
Expect invocation with matchers for regular parameters and all varargs values.
- expectInvocationWithMatchersForSomeRegularParametersAndAllForVarargs() - Method in class mockit.ExpectationsWithVarArgsMatchersTest
-
Expect invocation with matchers for some regular parameters and all for varargs.
- expectInvocationWithMatcherWhichInvokesMockedMethod() - Method in class mockit.ExpectationsWithArgMatchersTest
-
Expect invocation with matcher which invokes mocked method.
- expectInvocationWithNonNullRegularArgumentAndAnyVarargsButReplayWithNull() - Method in class mockit.ExpectationsWithVarArgsMatchersTest
-
Expect invocation with non null regular argument and any varargs but replay with null.
- expectInvocationWithNonPrimitiveVarArgs(ExpectationsWithVarArgsMatchersTest.ReferenceVarArgs) - Method in class mockit.ExpectationsWithVarArgsMatchersTest
-
Expect invocation with non primitive var args.
- expectInvocationWithNoVarArgs(ExpectationsWithVarArgsMatchersTest.VarArgs) - Method in class mockit.ExpectationsWithVarArgsMatchersTest
-
Expect invocation with no var args.
- expectInvocationWithPrimitiveVarArgs(ExpectationsWithVarArgsMatchersTest.PrimitiveVarArgs) - Method in class mockit.ExpectationsWithVarArgsMatchersTest
-
Expect invocation with primitive var args.
- expectInvocationWithPrimitiveVarArgsUsingMatchers(ExpectationsWithVarArgsMatchersTest.MixedVarArgs) - Method in class mockit.ExpectationsWithVarArgsMatchersTest
-
Expect invocation with primitive var args using matchers.
- expectInvocationWithSameMockInstanceButReplayWithNull(Certificate) - Method in class mockit.ExpectationsWithArgMatchersTest
-
Expect invocation with same mock instance but replay with null.
- expectNothingOnMockedTypeButExerciseItDuringReplay(ExpectationsTest.Collaborator) - Method in class mockit.ExpectationsTest
-
Expect nothing on mocked type but exercise it during replay.
- expectOnce(ExpectationsWithInvocationCountsTest.Collaborator) - Method in class mockit.ExpectationsWithInvocationCountsTest
-
Expect once.
- expectOnceButReplayMoreTimes(ExpectationsWithInvocationCountsTest.Collaborator) - Method in class mockit.ExpectationsWithInvocationCountsTest
-
Expect once but replay more times.
- expectOnceButReplayTwice(ExpectationsWithInvocationCountsTest.Collaborator) - Method in class mockit.ExpectationsWithInvocationCountsTest
-
Expect once but replay twice.
- expectOneInvocationOnDynamicMockButReplayTwice() - Method in class mockit.PartialMockingTest
-
Expect one invocation on dynamic mock but replay twice.
- expectOneOrMoreInvocationsFollowedByAnotherWhichWontOccur_maxTimes(ExpectationsWithInvocationCountsTest.Collaborator) - Method in class mockit.ExpectationsWithInvocationCountsTest
-
Expect one or more invocations followed by another which wont occur max times.
- expectOneOrMoreInvocationsFollowedByAnotherWhichWontOccur_minTimes(ExpectationsWithInvocationCountsTest.Collaborator) - Method in class mockit.ExpectationsWithInvocationCountsTest
-
Expect one or more invocations followed by another which wont occur min times.
- expectOnlyOneInvocationButExerciseOthersDuringReplay(ExpectationsTest.Collaborator) - Method in class mockit.ExpectationsTest
-
Expect only one invocation but exercise others during replay.
- expectSameMethodOnceOrTwiceThenOnceButReplayEachExpectationOnlyOnce(ExpectationsWithInvocationCountsTest.Collaborator) - Method in class mockit.ExpectationsWithInvocationCountsTest
-
Expect same method once or twice then once but replay each expectation only once.
- expectSameMethodOnceOrTwiceThenOnceButReplayEachExpectationOnlyOnce(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Expect same method once or twice then once but replay each expectation only once.
- expectTwiceByUsingInvocationCount(ExpectationsWithInvocationCountsTest.Collaborator) - Method in class mockit.ExpectationsWithInvocationCountsTest
-
Expect twice by using invocation count.
- expectTwiceByUsingInvocationCount(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Expect twice by using invocation count.
- expectTwiceByUsingInvocationCountButReplayOnlyOnce(ExpectationsWithInvocationCountsTest.Collaborator) - Method in class mockit.ExpectationsWithInvocationCountsTest
-
Expect twice by using invocation count but replay only once.
- expectTwiceByUsingInvocationCountButReplayOnlyOnce(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Expect twice by using invocation count but replay only once.
- expectTwoInvocationsOnDynamicMockButReplayOnce() - Method in class mockit.PartialMockingTest
-
Expect two invocations on dynamic mock but replay once.
- expectTwoOrThreeTimes(ExpectationsWithInvocationCountsTest.Collaborator) - Method in class mockit.ExpectationsWithInvocationCountsTest
-
Expect two or three times.
- expectTwoOrThreeTimes(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Expect two or three times.
- expectZeroOrMoreTimesAndReplayTwice(ExpectationsWithInvocationCountsTest.Collaborator) - Method in class mockit.ExpectationsWithInvocationCountsTest
-
Expect zero or more times and replay twice.
- extendingAReusableArgumentMatcher() - Method in class mockit.ExpectationsWithArgMatchersTest
-
Extending A reusable argument matcher.
F
- failForAnnotatedFieldHavingAnInjectableOfTheSameTypeWhichWasAlreadyConsumed(Runnable) - Method in class mockit.TestedClassWithAnnotatedDITest
-
Fail for annotated field having an injectable of the same type which was already consumed.
- failForAnnotatedFieldWhichLacksAnInjectable() - Method in class mockit.TestedClassWithAnnotatedDITest
-
Fail for annotated field which lacks an injectable.
- failureFromUnexpectedInvocationInAnotherThread(ExpectationsTest.Collaborator) - Method in class mockit.ExpectationsTest
-
Failure from unexpected invocation in another thread.
- FakeClass0() - Constructor for class mockit.integration.junit4.BaseJUnit4DecoratorTest.FakeClass0
- FakeClass1() - Constructor for class mockit.integration.junit4.BaseJUnit4DecoratorTest.FakeClass1
- FakeClass1() - Constructor for class otherTests.testng.BaseTestNGDecoratorTest.FakeClass1
- FakeClass2() - Constructor for class mockit.integration.junit4.JUnit4DecoratorTest.FakeClass2
- FakeClass2() - Constructor for class otherTests.testng.TestNGDecoratorTest.FakeClass2
- FakeClass3() - Constructor for class mockit.integration.junit4.SecondJUnit4DecoratorTest.FakeClass3
- FakeClass4() - Constructor for class mockit.integration.junit4.ThirdJUnit4DecoratorTest.FakeClass4
- FakeInvocationProceedTest - Class in mockit
-
The Class FakeInvocationProceedTest.
- FakeInvocationProceedTest() - Constructor for class mockit.FakeInvocationProceedTest
- FakeInvocationProceedTest.BaseClassToBeFaked - Class in mockit
-
The Class BaseClassToBeFaked.
- FakeInvocationProceedTest.ClassToBeFaked - Class in mockit
-
The Class ClassToBeFaked.
- fakingOfCalendar() - Method in class mockit.JREMockingTest
-
Faking of calendar.
- finalize() - Method in class mockit.ClassWithObjectOverrides
- firstTest() - Method in class otherTests.testng.TestedAndInjectablesTest
- FullVerificationsTest - Class in mockit
-
The Class FullVerificationsTest.
- FullVerificationsTest() - Constructor for class mockit.FullVerificationsTest
- FullVerificationsTest.Dependency - Class in mockit
-
The Class Dependency.
G
- GenericAbstractBase() - Constructor for class mockit.MockUpForSingleClassInstanceTest.GenericAbstractBase
- GenericClass() - Constructor for class mockit.MockUpForGenericsTest.GenericClass
- genericMethod(N) - Method in class mockit.MockUpForGenericsTest.Collaborator
- getAddress() - Method in class otherTests.multicast.Client
- getAppletInfo() - Method in class otherTests.testng.BaseTestNGDecoratorTest.FakeClass1
- getClassName() - Method in class otherTests.testng.TestNGDecoratorTest.FakeClass2
- getDuration() - Method in interface mockit.JREMockingTest.DurationProvider
-
Gets the duration.
- getLineWidth() - Method in class mockit.MockUpForSingleClassInstanceTest.AClassMockUp
- getMockInstanceFromInsideMockMethodForNonStaticMockedMethod() - Method in class mockit.MockUpForSingleClassInstanceTest
- getMockInstanceFromMockupForAbstractClass() - Method in class mockit.MockUpForSingleClassInstanceTest
- getMockInstanceFromMockupForAbstractJREClass() - Method in class mockit.MockUpForSingleClassInstanceTest
- getNumericValue() - Method in class mockit.MockUpForSingleClassInstanceTest.AClass
- getSomeOtherValue() - Method in class mockit.MockUpForSingleClassInstanceTest.AClass
- getSubject() - Method in class mockit.MockLoginContextTest.MockLoginContext
- getTextValue() - Method in class mockit.MockUpForSingleClassInstanceTest.AClass
- getUnrecordedResultFromCascadedInstance() - Method in class otherTests.testng.TestNGCascadingTest
- getValue() - Method in class mockit.integration.junit4.BaseJUnit4DecoratorTest.FakeClass0
- getValue() - Method in class mockit.integration.junit4.BaseJUnit4DecoratorTest.FakeClass1
- getValue() - Method in class mockit.integration.junit4.BaseJUnit4DecoratorTest.RealClass0
- getValue() - Method in class mockit.integration.junit4.BaseJUnit4DecoratorTest.RealClass1
- getValue() - Method in class mockit.integration.junit4.JUnit4DecoratorTest.FakeClass2
- getValue() - Method in class mockit.integration.junit4.JUnit4DecoratorTest.RealClass2
- getValue() - Method in class mockit.integration.junit4.SecondJUnit4DecoratorTest.FakeClass3
- getValue() - Method in class mockit.integration.junit4.SecondJUnit4DecoratorTest.RealClass3
- getValue() - Method in class mockit.integration.junit4.ThirdJUnit4DecoratorTest.FakeClass4
- getValue() - Method in class mockit.integration.junit4.ThirdJUnit4DecoratorTest.RealClass4
- getValue() - Method in class mockit.integration.MockedClass
- getValue() - Method in class mockit.MockInvocationTest.Collaborator
- getValue() - Method in class mockit.MockUpForSingleClassInstanceTest.AbstractBase
H
- handle(Callback[]) - Method in class mockit.MockAnnotationsTest.MockCallbackHandler
- hashCode() - Method in class mockit.ClassWithObjectOverrides
I
- initialize(Subject, CallbackHandler, Map<String, ?>, Map<String, ?>) - Method in class mockit.MockLoginContextTest.TestLoginModule
- injectAllAnnotatedInjectionPoints(int, Runnable, Runnable, boolean, String, double, String, int, long) - Method in class mockit.TestedClassWithAnnotatedDITest
-
Inject all annotated injection points.
- injectNullsThroughConstructorParametersAndIntoRequiredField() - Method in class mockit.TestedClassWithConstructorDI4Test
-
Inject nulls through constructor parameters and into required field.
- instanceMethod(Class<C>, String) - Method in class mockit.MockUpForGenericsTest.NonGenericClassWithGenericMethods
- instanceMethod(Class<N>) - Method in class mockit.MockUpForGenericsTest.NonGenericClassWithGenericMethods
- instanceMockMethodForStaticMethod() - Method in class mockit.MockInvocationTest
- instantiateTestedObjectFromMockParametersUsingAnotherConstructor(boolean, boolean, byte) - Method in class mockit.TestedClassInjectedFromMockParametersTest
-
Instantiate tested object from mock parameters using another constructor.
- instantiateTestedObjectFromMockParametersUsingOneConstructor(String, int, boolean, char, char) - Method in class mockit.TestedClassInjectedFromMockParametersTest
-
Instantiate tested object from mock parameters using one constructor.
- instantiateTestedObjectUsingConstructorWithMultipleParametersOfTheSameTypeMatchedByName(char, char, char) - Method in class mockit.TestedClassInjectedFromMockParametersTest
-
Instantiate tested object using constructor with multiple parameters of the same type matched by name.
- interrupt() - Method in class mockit.MockAnnotationsTest.MockThread
- InvocationBlocksWithTimesFieldsTest - Class in mockit
-
The Class InvocationBlocksWithTimesFieldsTest.
- InvocationBlocksWithTimesFieldsTest() - Constructor for class mockit.InvocationBlocksWithTimesFieldsTest
J
- JREMockingTest - Class in mockit
-
The Class JREMockingTest.
- JREMockingTest() - Constructor for class mockit.JREMockingTest
- JREMockingTest.DurationProvider - Interface in mockit
-
The Interface DurationProvider.
- JUnit38StyleTest - Class in otherTests
-
The Class JUnit38StyleTest.
- JUnit38StyleTest() - Constructor for class otherTests.JUnit38StyleTest
- JUnit4CustomRunnerTest - Class in mockit.integration.junit4
- JUnit4CustomRunnerTest() - Constructor for class mockit.integration.junit4.JUnit4CustomRunnerTest
- JUnit4CustomRunnerTest.CustomRunner - Class in mockit.integration.junit4
- JUnit4DecoratorTest - Class in mockit.integration.junit4
- JUnit4DecoratorTest() - Constructor for class mockit.integration.junit4.JUnit4DecoratorTest
- JUnit4DecoratorTest.FakeClass2 - Class in mockit.integration.junit4
- JUnit4DecoratorTest.RealClass2 - Class in mockit.integration.junit4
- JUnit4ParametersTest - Class in mockit
-
The Class JUnit4ParametersTest.
- JUnit4ParametersTest(int, int) - Constructor for class mockit.JUnit4ParametersTest
-
Instantiates a new j unit 4 parameters test.
- JUnit4Test - Class in otherTests
-
The Class JUnit4Test.
- JUnit4Test() - Constructor for class otherTests.JUnit4Test
- JUnit4ViolatedExpectationsTest - Class in mockit.integration.junit4
- JUnit4ViolatedExpectationsTest() - Constructor for class mockit.integration.junit4.JUnit4ViolatedExpectationsTest
L
- leaveValueAnnotatedInjectionPointsWithDefaultInitializationValue(Runnable, Runnable, int) - Method in class mockit.TestedClassWithAnnotatedDITest
-
Leave value annotated injection points with default initialization value.
- login() - Method in class mockit.MockLoginContextTest.MockLoginContext
- login() - Method in class mockit.MockLoginContextTest.TestLoginModule
- logout() - Method in class mockit.MockLoginContextTest.TestLoginModule
M
- matchOnMockInstance(MockInstanceMatchingTest.Collaborator) - Method in class mockit.MockInstanceMatchingTest
-
Match on mock instance.
- matchOnTwoMockInstances(MockInstanceMatchingTest.Collaborator) - Method in class mockit.MockInstanceMatchingTest
-
Match on two mock instances.
- matchOnTwoMockInstancesAndReplayInDifferentOrder(MockInstanceMatchingTest.Collaborator) - Method in class mockit.MockInstanceMatchingTest
-
Match on two mock instances and replay in different order.
- matchOnTwoMockInstancesForOtherwiseIdenticalExpectations(MockInstanceMatchingTest.Collaborator) - Method in class mockit.MockInstanceMatchingTest
-
Match on two mock instances for otherwise identical expectations.
- maxTimesDoesNotOverwriteMinTimes(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Max times does not overwrite min times.
- Message - Class in otherTests.multicast
- Message(Client[], String, StatusListener) - Constructor for class otherTests.multicast.Message
- messageDisplayedByClient(Client) - Method in interface otherTests.multicast.StatusListener
- messageReadByClient(Client) - Method in interface otherTests.multicast.StatusListener
- messageSent(Client) - Method in interface otherTests.multicast.StatusListener
- method(int[], Long, String[][], Long[]) - Method in class mockit.MockAnnotationsTest.MockForNonGenericSubInterface
- method(int[], T, String[][], T[]) - Method in interface mockit.MockAnnotationsTest.GenericInterface
- method(Long) - Method in class mockit.MockAnnotationsTest.MockForNonGenericSubInterface
- method(T) - Method in interface mockit.MockAnnotationsTest.GenericInterface
- method(T) - Method in interface mockit.MockUpForGenericsTest.GenericInterface
- methodToBeFaked() - Method in class mockit.FakeInvocationProceedTest.ClassToBeFaked
-
Method to be faked.
- methodToBeFaked(int) - Method in class mockit.FakeInvocationProceedTest.BaseClassToBeFaked
-
Method to be faked.
- methodToBeFaked(int, Object...) - Method in class mockit.FakeInvocationProceedTest.ClassToBeFaked
-
Method to be faked.
- methodToBeMocked() - Method in class mockit.MockInvocationProceedTest.ClassToBeMocked
- methodToBeMocked(int) - Method in class mockit.MockInvocationProceedTest.BaseClassToBeMocked
- methodToBeMocked(int, Object...) - Method in class mockit.MockInvocationProceedTest.ClassToBeMocked
- methodWithNoRecordedExpectationCalledTwiceDuringReplay() - Method in class mockit.PartialMockingTest
-
Method with no recorded expectation called twice during replay.
- minTimesAndMaxTimesOutOfOrder(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Min times and max times out of order.
- missingInvocationForExpectationUsingMatcherForDifferentParameterType() - Method in class mockit.AssertionErrorMessagesTest
-
Missing invocation for expectation using matcher for different parameter type.
- missingInvocationForExpectationVerifiedInOrder() - Method in class mockit.AssertionErrorMessagesTest
-
Missing invocation for expectation verified in order.
- missingInvocationForFullyVerifiedExpectations() - Method in class mockit.AssertionErrorMessagesTest
-
Missing invocation for fully verified expectations.
- missingInvocationForRecordedExpectation() - Method in class mockit.AssertionErrorMessagesTest
-
Missing invocation for recorded expectation.
- missingInvocationForRecordedExpectationWhichGetsNonMatchingInvocationsAtReplayTime() - Method in class mockit.AssertionErrorMessagesTest
-
Missing invocation for recorded expectation which gets non matching invocations at replay time.
- missingInvocationForVerifiedExpectation() - Method in class mockit.AssertionErrorMessagesTest
-
Missing invocation for verified expectation.
- missingInvocationForVerifiedExpectationWhichGetsNonMatchingInvocationsAtReplayTime() - Method in class mockit.AssertionErrorMessagesTest
-
Missing invocation for verified expectation which gets non matching invocations at replay time.
- MisusedMockingAPITest - Class in mockit
-
The Class MisusedMockingAPITest.
- MisusedMockingAPITest() - Constructor for class mockit.MisusedMockingAPITest
- mockAbstractClassWithMockForAbstractMethodHavingInvocationParameter() - Method in class mockit.MockAnnotationsTest
- mockAllConstructors(ExpectationsForConstructorsTest.Collaborator) - Method in class mockit.ExpectationsForConstructorsTest
-
Mock all constructors.
- mockAnnotatedConstructor(PartialMockingTest.Collaborator) - Method in class mockit.PartialMockingTest
-
Mock annotated constructor.
- MockAnnotationsTest - Class in mockit
- MockAnnotationsTest() - Constructor for class mockit.MockAnnotationsTest
- MockAnnotationsTest.AnInterface - Interface in mockit
- MockAnnotationsTest.GenericInterface<T> - Interface in mockit
- MockAnnotationsTest.MockCallbackHandler - Class in mockit
- MockAnnotationsTest.MockForNonGenericSubInterface - Class in mockit
- MockAnnotationsTest.MockThread - Class in mockit
- MockAnnotationsTest.NonGenericSubInterface - Interface in mockit
- mockBothGenericAndNonGenericMethodsInGenericClass() - Method in class mockit.MockUpForGenericsTest
- MockCallbackHandler() - Constructor for class mockit.MockAnnotationsTest.MockCallbackHandler
- mockClassHierarchyWhereFirstConstructorInBaseClassIsPrivate(ExpectationsForConstructorsTest.B) - Method in class mockit.ExpectationsForConstructorsTest
-
Mock class hierarchy where first constructor in base class is private.
- mockClassHierarchyWhereFirstConstructorInBaseClassOnAnotherPackageIsPackagePrivate(ExpectationsForConstructorsTest.D) - Method in class mockit.ExpectationsForConstructorsTest
-
Mock class hierarchy where first constructor in base class on another package is package private.
- mockClassIndirectlyExtendingBaseWhoseFirstConstructorHasMoreParametersThanTheSecondOne(PartialMockingTest.SubSubClass) - Method in class mockit.PartialMockingTest
-
Mock class indirectly extending base whose first constructor has more parameters than the second one.
- mockConstructorWhichCallsTwoOthersOfTheSameClass(ExpectationsForConstructorsTest.Collaborator2) - Method in class mockit.ExpectationsForConstructorsTest
-
Mock constructor which calls two others of the same class.
- MockDependencyTest - Class in mockit.integration.junit4
- MockDependencyTest() - Constructor for class mockit.integration.junit4.MockDependencyTest
- MockedClass - Class in mockit.integration
- MockedClass() - Constructor for class mockit.integration.MockedClass
- mockedClassWithAnnotatedElements() - Method in class mockit.ExpectationsTest
-
Mocked class with annotated elements.
- MockForNonGenericSubInterface() - Constructor for class mockit.MockAnnotationsTest.MockForNonGenericSubInterface
- mockGenericClassWithMockUpHavingInvocationParameter() - Method in class mockit.MockAnnotationsTest
- mockGenericClassWithUnspecifiedTypeArguments() - Method in class mockit.MockUpForGenericsTest
- mockGenericInterfaceMethod() - Method in class mockit.MockUpForGenericsTest
- mockGenericInterfaceMethodWithMockMethodHavingParameterOfTypeObject() - Method in class mockit.MockUpForGenericsTest
- mockGenericInterfaceWithMockUpHavingInvocationParameter() - Method in class mockit.MockAnnotationsTest
- mockGenericMethod() - Method in class mockit.MockUpForGenericsTest
- mockGenericMethodFromInstantiationOfNonGenericSubclass() - Method in class mockit.MockUpForGenericsTest
- mockGenericMethodFromInstantiationOfNonGenericSubclassWhichExtendsAGenericIntermediateSuperclass() - Method in class mockit.MockUpForGenericsTest
- mockGenericMethodsOfNonGenericClass() - Method in class mockit.MockUpForGenericsTest
- mockGenericMethodWithMockMethodHavingParameterTypesMatchingTypeArguments() - Method in class mockit.MockUpForGenericsTest
- mockingFileAndRecordingExpectationToMatchOnSpecificConstructorCall(File) - Method in class mockit.JREMockingTest
-
Mocking file and recording expectation to match on specific constructor call.
- mockingOfFile(File) - Method in class mockit.JREMockingTest
-
Mocking of file.
- MockInstanceMatchingTest - Class in mockit
-
The Class MockInstanceMatchingTest.
- MockInstanceMatchingTest() - Constructor for class mockit.MockInstanceMatchingTest
- MockInvocationProceedTest - Class in mockit
- MockInvocationProceedTest() - Constructor for class mockit.MockInvocationProceedTest
- MockInvocationProceedTest.BaseClassToBeMocked - Class in mockit
- MockInvocationProceedTest.ClassToBeMocked - Class in mockit
- MockInvocationTest - Class in mockit
- MockInvocationTest() - Constructor for class mockit.MockInvocationTest
- MockInvocationTest.Collaborator - Class in mockit
- mockit - package mockit
- mockit.integration - package mockit.integration
- mockit.integration.junit4 - package mockit.integration.junit4
- mockit.integration.springframework - package mockit.integration.springframework
- mockJREClassWithStubs() - Method in class mockit.MockLoginContextTest
- mockJREInterface() - Method in class mockit.MockAnnotationsTest
- mockJREInterfaceWithMockUp() - Method in class mockit.MockAnnotationsTest
- mockJREMethodAndConstructorUsingAnnotatedMockClass() - Method in class mockit.MockLoginContextTest
- mockJREMethodAndConstructorWithMockUpClass() - Method in class mockit.MockLoginContextTest
- mockLogger(Logger) - Method in class mockit.JREMockingTest
-
Mock logger.
- MockLoginContext() - Constructor for class mockit.MockLoginContextTest.MockLoginContext
- MockLoginContextTest - Class in mockit
- MockLoginContextTest() - Constructor for class mockit.MockLoginContextTest
- MockLoginContextTest.MockLoginContext - Class in mockit
- MockLoginContextTest.TestLoginModule - Class in mockit
- mockLogManager(LogManager) - Method in class mockit.JREMockingTest
-
Mock log manager.
- mockMethodInSameClass() - Method in class mockit.PartialMockingTest
-
Mock method in same class.
- mockMethodOfGenericInterfaceWithArrayAndGenericTypeArgument() - Method in class mockit.MockAnnotationsTest
- mockMethodOfSubInterfaceWithGenericTypeArgument() - Method in class mockit.MockAnnotationsTest
- mockMethodOfSubInterfaceWithGenericTypeArgument() - Method in class mockit.MockUpForGenericsTest
- mockMethodsForMethodsWithoutParameters() - Method in class mockit.MockInvocationTest
- mockMethodsWithInvocationParameter() - Method in class mockit.MockInvocationTest
- mockMethodsWithParameters() - Method in class mockit.MockInvocationTest
- mockMethodWhichReturnsADuration(JREMockingTest.DurationProvider) - Method in class mockit.JREMockingTest
-
Mock method which returns A duration.
- mockNativeMethodInClassWithoutRegisterNatives() - Method in class mockit.MockAnnotationsTest
- mockNativeMethodInClassWithRegisterNatives() - Method in class mockit.MockAnnotationsTest
- mockNonPublicInterfaceWithMockUpHavingInvocationParameter() - Method in class mockit.MockAnnotationsTest
- mockPublicInterfaceWithMockUpHavingInvocationParameter() - Method in class mockit.MockAnnotationsTest
- mockStaticInitializer() - Method in class mockit.MockAnnotationsTest
- mockTestedClass(TestedAndMockedTest.ClassToBeTested) - Method in class mockit.TestedAndMockedTest
-
Mock tested class.
- MockThread() - Constructor for class mockit.MockAnnotationsTest.MockThread
- mockupAffectingOneInstanceButNotOthersOfSameClass() - Method in class mockit.MockUpForSingleClassInstanceTest
- mockUpAffectsInstancesOfSpecifiedSubclassAndNotOfBaseClass() - Method in class mockit.MockAnnotationsTest
- MockUpForGenericsTest - Class in mockit
- MockUpForGenericsTest() - Constructor for class mockit.MockUpForGenericsTest
- MockUpForGenericsTest.Collaborator - Class in mockit
- MockUpForGenericsTest.GenericClass<T1,
T2> - Class in mockit - MockUpForGenericsTest.GenericInterface<T> - Interface in mockit
- MockUpForGenericsTest.NonGenericClassWithGenericMethods - Class in mockit
- MockUpForGenericsTest.NonGenericSubInterface - Interface in mockit
- MockUpForSingleClassInstanceTest - Class in mockit
- MockUpForSingleClassInstanceTest() - Constructor for class mockit.MockUpForSingleClassInstanceTest
- MockUpForSingleClassInstanceTest.AbstractBase - Class in mockit
- MockUpForSingleClassInstanceTest.AClass - Class in mockit
- MockUpForSingleClassInstanceTest.AClassMockUp - Class in mockit
- MockUpForSingleClassInstanceTest.GenericAbstractBase<T,
N> - Class in mockit - mockWithNoExpectationsPassingMockInstance() - Method in class mockit.MockAnnotationsTest
- multipleMockupsOfSameTypeWithOwnMockInstanceEach() - Method in class mockit.MockUpForSingleClassInstanceTest
N
- name - Variable in class mockit.FakeInvocationProceedTest.BaseClassToBeFaked
-
The name.
- name - Variable in class mockit.MockInvocationProceedTest.BaseClassToBeMocked
- nativeMethod() - Static method in class mockit.FakeInvocationProceedTest.ClassToBeFaked
-
Native method.
- nativeMethod() - Static method in class mockit.MockInvocationProceedTest.ClassToBeMocked
- NonGenericClassWithGenericMethods() - Constructor for class mockit.MockUpForGenericsTest.NonGenericClassWithGenericMethods
- notifyBeforeSave() - Method in class mockit.ExpectationsTest.Dependency
-
Deprecated.Notify before save.
- notifyBeforeSave() - Method in class mockit.FullVerificationsTest.Dependency
-
Notify before save.
- notifyBeforeSave() - Method in class mockit.VerificationsInOrderTest.Dependency
-
Notify before save.
- notifyBeforeSave() - Method in class mockit.VerificationsTest.Dependency
-
Notify before save.
O
- ObjectOverridesTest - Class in mockit
-
The Class ObjectOverridesTest.
- ObjectOverridesTest() - Constructor for class mockit.ObjectOverridesTest
- ordered_maxTimesDoesNotOverwriteMinTimes(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Ordered max times does not overwrite min times.
- ordered_minTimesAndMaxTimesOutOfOrder(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Ordered min times and max times out of order.
- ordered_verifyAtLeastOnceAndReplayTwice(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Ordered verify at least once and replay twice.
- ordered_verifyAtMostOnceButReplayTwice(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Ordered verify at most once but replay twice.
- ordered_verifyAtMostTwiceAndReplayOnce(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Ordered verify at most twice and replay once.
- ordered_verifyAtMostZero(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Ordered verify at most zero.
- ordered_verifyAtMostZeroButReplayOnce(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Ordered verify at most zero but replay once.
- ordered_verifySameMethodOnceOrTwiceThenOnceButReplayEachExpectationOnlyOnce(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Ordered verify same method once or twice then once but replay each expectation only once.
- ordered_verifyTwiceByUsingInvocationCount(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Ordered verify twice by using invocation count.
- ordered_verifyTwiceByUsingInvocationCountButReplayOnlyOnce(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Ordered verify twice by using invocation count but replay only once.
- ordered_verifyTwoOrThreeTimes(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Ordered verify two or three times.
- ordered_verifyZeroOrMoreTimesAndReplayNone(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Ordered verify zero or more times and replay none.
- ordered_verifyZeroOrMoreTimesAndReplayTwice(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Ordered verify zero or more times and replay twice.
- otherTests - package otherTests
- otherTests.multicast - package otherTests.multicast
- otherTests.testng - package otherTests.testng
P
- parallelExecution() - Method in class otherTests.testng.ParallelExecutionTest
- ParallelExecutionTest - Class in otherTests.testng
- ParallelExecutionTest() - Constructor for class otherTests.testng.ParallelExecutionTest
- parameters() - Static method in class mockit.JUnit4ParametersTest
-
Parameters.
- PartialMockingTest - Class in mockit
-
The Class PartialMockingTest.
- PartialMockingTest() - Constructor for class mockit.PartialMockingTest
- PartialMockingTest.AnotherInterface - Interface in mockit
-
The Interface AnotherInterface.
- prepare() - Method in class mockit.ExpectationsTest.Dependency
-
Deprecated.Prepare.
- prepare() - Method in class mockit.FullVerificationsTest.Dependency
-
Prepare.
- prepare() - Method in class mockit.VerificationsInOrderTest.Dependency
-
Prepare.
- prepare() - Method in class mockit.VerificationsTest.Dependency
-
Prepare.
- preventAllWritesToMockedBufferedWritersFromSUT() - Method in class otherTests.testng.TestNGSharedMockFieldTest
- proceedConditionallyFromFakeMethod() - Method in class mockit.FakeInvocationProceedTest
-
Proceed conditionally from fake method.
- proceedConditionallyFromFakeMethodIntoConstructor() - Method in class mockit.FakeInvocationProceedTest
-
Proceed conditionally from fake method into constructor.
- proceedConditionallyFromFakeMethodIntoJREConstructor() - Method in class mockit.FakeInvocationProceedTest
-
Proceed conditionally from fake method into JRE constructor.
- proceedConditionallyFromMockMethod() - Method in class mockit.MockInvocationProceedTest
- proceedConditionallyFromMockMethodIntoConstructor() - Method in class mockit.MockInvocationProceedTest
- proceedConditionallyFromMockMethodIntoJREConstructor() - Method in class mockit.MockInvocationProceedTest
- proceedFromFakeMethodIntoConstructor() - Method in class mockit.FakeInvocationProceedTest
-
Proceed from fake method into constructor.
- proceedFromFakeMethodIntoMethodInheritedFromBaseClass() - Method in class mockit.FakeInvocationProceedTest
-
Proceed from fake method into method inherited from base class.
- proceedFromFakeMethodIntoRealMethodWithModifiedArguments() - Method in class mockit.FakeInvocationProceedTest
-
Proceed from fake method into real method with modified arguments.
- proceedFromFakeMethodWhichThrowsCheckedException() - Method in class mockit.FakeInvocationProceedTest
-
Proceed from fake method which throws checked exception.
- proceedFromFakeMethodWithoutParameters() - Method in class mockit.FakeInvocationProceedTest
-
Proceed from fake method without parameters.
- proceedFromFakeMethodWithParameters() - Method in class mockit.FakeInvocationProceedTest
-
Proceed from fake method with parameters.
- proceedFromMockMethodIntoConstructor() - Method in class mockit.MockInvocationProceedTest
- proceedFromMockMethodIntoMethodInheritedFromBaseClass() - Method in class mockit.MockInvocationProceedTest
- proceedFromMockMethodWhichThrowsCheckedException() - Method in class mockit.MockInvocationProceedTest
- proceedFromMockMethodWithoutParameters() - Method in class mockit.MockInvocationProceedTest
- proceedFromMockMethodWithParameters() - Method in class mockit.MockInvocationProceedTest
- proceedIntoRealImplementationsOfMockedMethods() - Method in class mockit.MockLoginContextTest
R
- RealClass0() - Constructor for class mockit.integration.junit4.BaseJUnit4DecoratorTest.RealClass0
- RealClass1() - Constructor for class mockit.integration.junit4.BaseJUnit4DecoratorTest.RealClass1
- RealClass2() - Constructor for class mockit.integration.junit4.JUnit4DecoratorTest.RealClass2
- RealClass3() - Constructor for class mockit.integration.junit4.SecondJUnit4DecoratorTest.RealClass3
- RealClass4() - Constructor for class mockit.integration.junit4.ThirdJUnit4DecoratorTest.RealClass4
- realClassesFakedInBaseClassMustStillBeFakedHere() - Method in class mockit.integration.junit4.ThirdJUnit4DecoratorTest
- realClassesFakedInOtherTestClassesMustNotBeFakedHere() - Method in class mockit.integration.junit4.ThirdJUnit4DecoratorTest
- realClassesFakedInPreviousTestClassMustNoLongerBeFaked() - Method in class mockit.integration.junit4.SecondJUnit4DecoratorTest
- recordAndReplayBaseConstructorInvocation(ExpectationsForConstructorsTest.Base) - Method in class mockit.ExpectationsForConstructorsTest
-
Record and replay base constructor invocation.
- recordAndReplayExpectationsOnSharedMocks() - Method in class otherTests.testng.TestNGSharedMockFieldTest
- recordAndReplayExpectationsOnSharedMocksAgain() - Method in class otherTests.testng.TestNGSharedMockFieldTest
- recordAndVerifyExpectationsOnMockedInterface() - Method in class otherTests.testng.TestedAndInjectablesTest
- recordArraysOfGenericElementTypes(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Record arrays of generic element types.
- recordCommonExpectations() - Method in class mockit.TestedClassWithConstructorDI4Test
-
Record common expectations.
- recordConsecutiveReturnValuesForVoidMethod(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Record consecutive return values for void method.
- recordDuplicateInvocationInSeparateExpectationBlocks() - Method in class mockit.MisusedMockingAPITest
-
Record duplicate invocation in separate expectation blocks.
- recordDuplicateInvocationWithArgumentMatcher() - Method in class mockit.MisusedMockingAPITest
-
Record duplicate invocation with argument matcher.
- recordDuplicateInvocationWithNoArguments() - Method in class mockit.MisusedMockingAPITest
-
Record duplicate invocation with no arguments.
- recordExceptionFollowedByNullReturnValueForVoidMethod(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Record exception followed by null return value for void method.
- recordExpectationAfterInvokingSameMethodInReplayPhase() - Method in class mockit.MisusedMockingAPITest
-
Record expectation after invoking same method in replay phase.
- recordExpectationMatchingOnInstanceCreatedInsideCodeUnderTest() - Method in class mockit.MockInstanceMatchingTest
-
Record expectation matching on instance created inside code under test.
- recordExpectationOnBaseConstructorAndReplayWithCallToSuper(ExpectationsForConstructorsTest.Base) - Method in class mockit.ExpectationsForConstructorsTest
-
Record expectation on base constructor and replay with call to super.
- recordExpectationsMatchingOnMultipleMockInstances(MockInstanceMatchingTest.Collaborator) - Method in class mockit.MockInstanceMatchingTest
-
Record expectations matching on multiple mock instances.
- recordExpectationsOnDynamicallyMockedClass() - Method in class otherTests.testng.DynamicMockingInBeforeMethodTest
- recordExpectationsOnTwoInstancesOfSameMockedInterface(DataSource, DataSource, Attr) - Method in class mockit.MockInstanceMatchingTest
-
Record expectations on two instances of same mocked interface.
- recordExpectationsUsingTheAnyFieldsForParameterOfTypeObject() - Method in class mockit.ExpectationsWithArgMatchersTest
-
Record expectations using the any fields for parameter of type object.
- recordExpectationsUsingTheWithAnyMethodForParameterOfTypeObject() - Method in class mockit.ExpectationsWithArgMatchersTest
-
Record expectations using the with any method for parameter of type object.
- recordExpectationsWithMatchersForSomeRegularParametersAndNoneForVarargs() - Method in class mockit.ExpectationsWithVarArgsMatchersTest
-
Record expectations with matchers for some regular parameters and none for varargs.
- recordExpectationWithDelegateWithoutTheParameterType() - Method in class mockit.ExpectationsWithArgMatchersTest
-
Record expectation with delegate without the parameter type.
- recordingExpectationOnMethodWithOneArgumentButReplayingWithAnotherShouldProduceUsefulErrorMessage(ExpectationsTest.Collaborator) - Method in class mockit.ExpectationsTest
-
Recording expectation on method with one argument but replaying with another should produce useful error message.
- recordInvocationsWithExpectedInvocationCounts() - Method in class mockit.ExpectationsTest
-
Record invocations with expected invocation counts.
- recordInvocationsWithMinInvocationCountLargerThanWillOccur() - Method in class mockit.ExpectationsTest
-
Record invocations with min invocation count larger than will occur.
- recordInvocationThatWillNotOccur() - Method in class mockit.ExpectationsTest
-
Record invocation that will not occur.
- recordInvocationWithExactExpectedNumberOfInvocationsButFailToSatisfy() - Method in class mockit.ExpectationsTest
-
Record invocation with exact expected number of invocations but fail to satisfy.
- recordInvocationWithMaximumExpectedNumberOfInvocationsButFailToSatisfy() - Method in class mockit.ExpectationsTest
-
Record invocation with maximum expected number of invocations but fail to satisfy.
- recordInvocationWithMinimumExpectedNumberOfInvocationsButFailToSatisfy() - Method in class mockit.ExpectationsTest
-
Record invocation with minimum expected number of invocations but fail to satisfy.
- recordMockInstanceForConstructorExpectation() - Method in class mockit.MisusedMockingAPITest
-
Record mock instance for constructor expectation.
- recordNullReturnValueForConstructor(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Record null return value for constructor.
- recordNullReturnValueForVoidMethod(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Record null return value for void method.
- recordNullReturnValueForVoidMethodAndThenAThrownError(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Record null return value for void method and then A thrown error.
- recordOnMockInstanceButReplayOnDifferentInstance(MockInstanceMatchingTest.Collaborator) - Method in class mockit.MockInstanceMatchingTest
-
Record on mock instance but replay on different instance.
- recordOnSpecificMockInstancesButReplayOnDifferentOnes(MockInstanceMatchingTest.Collaborator) - Method in class mockit.MockInstanceMatchingTest
-
Record on specific mock instances but replay on different ones.
- recordReturnValueForConstructor(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Record return value for constructor.
- recordReturnValueForVoidMethod(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Record return value for void method.
- recordReturnValuesMixedWithThrowablesForNonVoidMethod(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Record return values mixed with throwables for non void method.
- recordSimpleInvocations() - Method in class mockit.ExpectationsTest
-
Record simple invocations.
- recordThrownError(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Record thrown error.
- recordThrownException(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Record thrown exception.
- recordUnorderedInstantiationOfClassMockedTwice(MisusedMockingAPITest.Blah) - Method in class mockit.MisusedMockingAPITest
-
Record unordered instantiation of class mocked twice.
- recordValueForCascadedInstance() - Method in class otherTests.testng.TestNGCascadingInSetupTest
- recordVarargsMethodWithRegularParameterUsingMatcherForVarargsOnly() - Method in class mockit.ExpectationsWithVarArgsMatchersTest
-
Record varargs method with regular parameter using matcher for varargs only.
- recordWithArgumentMatcherAndIndividualInvocationCounts() - Method in class mockit.ExpectationsTest
-
Record with argument matcher and individual invocation counts.
- recordWithMaxInvocationCountFollowedByReturnValue() - Method in class mockit.ExpectationsTest
-
Record with max invocation count followed by return value.
- recordWithMaxInvocationCountFollowedByReturnValueButReplayOneTimeBeyondMax() - Method in class mockit.ExpectationsTest
-
Record with max invocation count followed by return value but replay one time beyond max.
- recordWithMinInvocationCountFollowedByReturnValueUsingDelegate() - Method in class mockit.ExpectationsTest
-
Record with min invocation count followed by return value using delegate.
- recordWithReturnValueFollowedByExpectedInvocationCount() - Method in class mockit.ExpectationsTest
-
Record with return value followed by expected invocation count.
- regularMockingOfAnnotatedJREMethod(Date) - Method in class mockit.JREMockingTest
-
Regular mocking of annotated JRE method.
- repeatsAtLeastOverwritingUpperLimit(ExpectationsWithInvocationCountsTest.Collaborator) - Method in class mockit.ExpectationsWithInvocationCountsTest
-
Repeats at least overwriting upper limit.
- repeatsAtMostDoesNotOverwriteLowerLimit(ExpectationsWithInvocationCountsTest.Collaborator) - Method in class mockit.ExpectationsWithInvocationCountsTest
-
Repeats at most does not overwrite lower limit.
- replayVarargsMethodWithDifferentThanExpectedNonVarargsArgument() - Method in class mockit.ExpectationsWithVarArgsMatchersTest
-
Replay varargs method with different than expected non varargs argument.
- replayVarargsMethodWithDifferentThanExpectedNumberOfVarargsArguments() - Method in class mockit.ExpectationsWithVarArgsMatchersTest
-
Replay varargs method with different than expected number of varargs arguments.
- replayVarargsMethodWithDifferentThanExpectedVarargsArgument() - Method in class mockit.ExpectationsWithVarArgsMatchersTest
-
Replay varargs method with different than expected varargs argument.
- replayWithUnexpectedStaticMethodInvocation(ExpectationsTest.Collaborator) - Method in class mockit.ExpectationsTest
-
Replay with unexpected static method invocation.
- resultFromDelegate(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Result from delegate.
- resultWithMultipleReturnValuesThroughSingleDelegate(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Result with multiple return values through single delegate.
- returnByteArrayFromDelegateMethod(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Return byte array from delegate method.
- returnInconvertibleValueFromDelegateWhenReturnsTypesDiffer(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Return inconvertible value from delegate when returns types differ.
- returnIterableOrIteratorFromRecordedArray(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Return iterable or iterator from recorded array.
- returnMapFromRecordedTwoDimensionalArray(ExpectationsUsingResultFieldTest.Collaborator, ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Return map from recorded two dimensional array.
- returnsDefaultValuesForArrayValuedReturnTypes(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Returns default values for array valued return types.
- returnsDefaultValuesForCollectionValuedReturnTypes(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Returns default values for collection valued return types.
- returnsDefaultValuesForIteratorAndIterableReturnTypes(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Returns default values for iterator and iterable return types.
- returnsDefaultValuesForPrimitiveAndWrapperReturnTypes(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Returns default values for primitive and wrapper return types.
- returnsEmptyArrayForMethodWithReturnTypeOfObject(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Returns empty array for method with return type of object.
- returnsExpectedValues(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Returns expected values.
- returnsMultipleExpectedValues(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Returns multiple expected values.
- returnsMultipleExpectedValuesWithMoreInvocationsAllowed(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Returns multiple expected values with more invocations allowed.
- returnsMultipleValuesFromGenericMethod(Callable<Integer>) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Returns multiple values from generic method.
- returnsMultipleValuesFromMethodWithReturnTypeOfObject(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Returns multiple values from method with return type of object.
- returnsMultipleValuesInSequenceUsingArray(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Returns multiple values in sequence using array.
- returnsMultipleValuesInSequenceUsingCollection() - Method in class mockit.ExpectationsUsingResultFieldTest
-
Returns multiple values in sequence using collection.
- returnsMultipleValuesInSequenceUsingIterable(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Returns multiple values in sequence using iterable.
- returnsMultipleValuesInSequenceUsingIterator() - Method in class mockit.ExpectationsUsingResultFieldTest
-
Returns multiple values in sequence using iterator.
- returnsNullAsDefaultValueForMethodsReturningStringOrObject(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Returns null as default value for methods returning string or object.
- returnsSpecifiedCollectionsForMethodsThatReturnCollections() - Method in class mockit.ExpectationsUsingResultFieldTest
-
Returns specified collections for methods that return collections.
- returnsSpecifiedIteratorForMethodThatReturnsIterator() - Method in class mockit.ExpectationsUsingResultFieldTest
-
Returns specified iterator for method that returns iterator.
- returnsValueOfIncompatibleTypeForMethodReturningArray(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Returns value of incompatible type for method returning array.
- returnsValueOfIncompatibleTypeForMethodReturningCollection(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Returns value of incompatible type for method returning collection.
- returnValueOfCorrectTypeFromDelegateMethodReturningASupertype(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Return value of correct type from delegate method returning A supertype.
- returnVoidFromDelegateMethodForRecordedMethodHavingPrimitiveReturnType(DelegateTest.Collaborator) - Method in class mockit.DelegateTest
-
Return void from delegate method for recorded method having primitive return type.
- run(IHookCallBack, ITestResult) - Method in class otherTests.testng.BaseTestNGDecoratorTest
S
- sameAnonymousMockupAppliedMultipleTimesWithDifferentTargetInstances() - Method in class mockit.MockUpForSingleClassInstanceTest
- sameAnonymousMockupAppliedMultipleTimesWithoutTargetInstanceButWithMockInstanceCreatedFromMockup() - Method in class mockit.MockUpForSingleClassInstanceTest
- samePublicMockupAppliedMultipleTimes() - Method in class mockit.MockUpForSingleClassInstanceTest
- save() - Method in class mockit.ExpectationsTest.Dependency
-
Deprecated.Save.
- save() - Method in class mockit.FullVerificationsTest.Dependency
-
Save.
- save() - Method in class mockit.VerificationsInOrderTest.Dependency
-
Save.
- save() - Method in class mockit.VerificationsTest.Dependency
-
Save.
- SecondJUnit4DecoratorTest - Class in mockit.integration.junit4
- SecondJUnit4DecoratorTest() - Constructor for class mockit.integration.junit4.SecondJUnit4DecoratorTest
- SecondJUnit4DecoratorTest.FakeClass3 - Class in mockit.integration.junit4
- SecondJUnit4DecoratorTest.RealClass3 - Class in mockit.integration.junit4
- secondTest() - Method in class otherTests.testng.TestedAndInjectablesTest
- setEnumFieldInTestedObjectFromValueProvidedInParameter(boolean, TestedClassInjectedFromMockParametersTest.AnEnum) - Method in class mockit.TestedClassInjectedFromMockParametersTest
-
Sets the enum field in tested object from value provided in parameter.
- setSomething(int) - Method in class mockit.ExpectationsTest.Dependency
-
Deprecated.Sets the something.
- setSomething(int) - Method in class mockit.FullVerificationsTest.Dependency
-
Sets the something.
- setSomething(int) - Method in class mockit.VerificationsInOrderTest.Dependency
-
Sets the something.
- setSomething(int) - Method in class mockit.VerificationsTest.Dependency
-
Sets the something.
- setSomethingElse(char) - Method in class mockit.FullVerificationsTest.Dependency
-
Sets the something else.
- setSomethingElse(String) - Method in class mockit.ExpectationsTest.Dependency
-
Deprecated.Sets the something else.
- setSomethingElse(String) - Method in class mockit.VerificationsInOrderTest.Dependency
-
Sets the something else.
- setSomethingElse(String) - Method in class mockit.VerificationsTest.Dependency
-
Sets the something else.
- setUp() - Method in class mockit.integration.junit4.JUnit4CustomRunnerTest
- setUp() - Method in class otherTests.JUnit38StyleTest
- setUp() - Method in class otherTests.testng.TestedAndInjectablesTest
- setUpAndUseFakesAgain() - Method in class mockit.integration.junit4.JUnit4DecoratorTest
- setUpAndUseSomeFakes() - Method in class mockit.integration.junit4.JUnit4DecoratorTest
- setUpFakes() - Static method in class mockit.integration.junit4.SecondJUnit4DecoratorTest
- setUpMockForConstructor() - Method in class mockit.MockAnnotationsTest
- setUpMockForJREClass() - Method in class mockit.MockAnnotationsTest
- setUpMockForStaticMethod() - Method in class mockit.MockAnnotationsTest
- setUpMockForSubclassConstructor() - Method in class mockit.MockAnnotationsTest
- setUpMocksContainingExpectations() - Method in class mockit.MockAnnotationsTest
- setUpMocksForClassHierarchy() - Method in class mockit.MockAnnotationsTest
- setUpMocksFromInnerMockClassWithMockConstructor() - Method in class mockit.MockAnnotationsTest
- setUpMockWithInvocationsExpectationButFailIt() - Method in class mockit.MockAnnotationsTest
- setUpMockWithMaxInvocationsExpectationButFailIt() - Method in class mockit.MockAnnotationsTest
- setUpMockWithMinInvocationsExpectationButFailIt() - Method in class mockit.MockAnnotationsTest
- setUpReentrantMock() - Method in class mockit.MockAnnotationsTest
- setUpSuiteWideFakes() - Static method in class mockit.integration.junit4.TestSuiteWithBeforeClass
- setValue(int) - Method in class mockit.MockInvocationTest.Collaborator
- StandardDI2Test - Class in mockit
-
The Class StandardDI2Test.
- StandardDI2Test() - Constructor for class mockit.StandardDI2Test
- staticMethod() - Static method in class mockit.MockInvocationTest.Collaborator
- staticMethod(Class<T>, String) - Static method in class mockit.MockUpForGenericsTest.NonGenericClassWithGenericMethods
- staticMethodToBeFaked() - Static method in class mockit.FakeInvocationProceedTest.ClassToBeFaked
-
Static method to be faked.
- staticMethodToBeMocked() - Static method in class mockit.MockInvocationProceedTest.ClassToBeMocked
- StatusListener - Interface in otherTests.multicast
- stubbedOutAnnotatedMethodInMockedClass() - Method in class mockit.MockAnnotationsTest
- stubOutStaticInitializer() - Method in class mockit.MockAnnotationsTest
- stubOutStaticInitializerWithEmptyMockClass() - Method in class mockit.MockAnnotationsTest
T
- tearDown() - Method in class otherTests.testng.TestedAndInjectablesTest
- tearDownTestMethod() - Method in class otherTests.testng.TestNGExpectationsTest
- Temp() - Constructor for class otherTests.testng.TestNGDecoratorTest.Temp
- TestedAndInjectablesTest - Class in otherTests.testng
- TestedAndInjectablesTest() - Constructor for class otherTests.testng.TestedAndInjectablesTest
- TestedAndMockedTest - Class in mockit
-
The Class TestedAndMockedTest.
- TestedAndMockedTest() - Constructor for class mockit.TestedAndMockedTest
- TestedAndMockedTest.ClassToBeTested - Class in mockit
-
The Class ClassToBeTested.
- TestedClass - Class in otherTests
-
The Class TestedClass.
- TestedClass(boolean) - Constructor for class mockit.TestedClassInjectedFromMockParametersTest.TestedClass
-
Instantiates a new tested class.
- TestedClass(boolean, byte, boolean) - Constructor for class mockit.TestedClassInjectedFromMockParametersTest.TestedClass
-
Instantiates a new tested class.
- TestedClass(char, char, char) - Constructor for class mockit.TestedClassInjectedFromMockParametersTest.TestedClass
-
Instantiates a new tested class.
- TestedClass(int, String, boolean, char...) - Constructor for class mockit.TestedClassInjectedFromMockParametersTest.TestedClass
-
Instantiates a new tested class.
- TestedClass(MockedClass) - Constructor for class otherTests.TestedClass
-
Instantiates a new tested class.
- TestedClass(TestedClassWithConstructorDI4Test.GenericClass<String>, List<Integer>, Callable<Number>...) - Constructor for class mockit.TestedClassWithConstructorDI4Test.TestedClass
-
Instantiates a new tested class.
- TestedClassInjectedFromMockParametersTest - Class in mockit
-
The Class TestedClassInjectedFromMockParametersTest.
- TestedClassInjectedFromMockParametersTest() - Constructor for class mockit.TestedClassInjectedFromMockParametersTest
- TestedClassInjectedFromMockParametersTest.TestedClass - Class in mockit
-
The Class TestedClass.
- TestedClassWithAnnotatedDITest - Class in mockit
-
The Class TestedClassWithAnnotatedDITest.
- TestedClassWithAnnotatedDITest() - Constructor for class mockit.TestedClassWithAnnotatedDITest
- TestedClassWithConstructorDI4Test - Class in mockit
-
The Class TestedClassWithConstructorDI4Test.
- TestedClassWithConstructorDI4Test() - Constructor for class mockit.TestedClassWithConstructorDI4Test
- TestedClassWithConstructorDI4Test.TestedClass - Class in mockit
-
The Class TestedClass.
- TestedFieldWithFailedConstructorDITest - Class in mockit
-
The Class TestedFieldWithFailedConstructorDITest.
- TestedFieldWithFailedConstructorDITest() - Constructor for class mockit.TestedFieldWithFailedConstructorDITest
- TestedFieldWithFailedFullDITest - Class in mockit
-
The Class TestedFieldWithFailedFullDITest.
- TestedFieldWithFailedFullDITest() - Constructor for class mockit.TestedFieldWithFailedFullDITest
- TestLoginModule() - Constructor for class mockit.MockLoginContextTest.TestLoginModule
- TestNGCascadingInSetupTest - Class in otherTests.testng
- TestNGCascadingInSetupTest() - Constructor for class otherTests.testng.TestNGCascadingInSetupTest
- TestNGCascadingTest - Class in otherTests.testng
- TestNGCascadingTest() - Constructor for class otherTests.testng.TestNGCascadingTest
- TestNGDecoratorTest - Class in otherTests.testng
- TestNGDecoratorTest() - Constructor for class otherTests.testng.TestNGDecoratorTest
- TestNGDecoratorTest.FakeClass2 - Class in otherTests.testng
- TestNGDecoratorTest.Temp - Class in otherTests.testng
- TestNGExpectationsTest - Class in otherTests.testng
- TestNGExpectationsTest() - Constructor for class otherTests.testng.TestNGExpectationsTest
- TestNGParametersTest - Class in otherTests.testng
- TestNGParametersTest(String, String) - Constructor for class otherTests.testng.TestNGParametersTest
- TestNGSharedMockFieldTest - Class in otherTests.testng
- TestNGSharedMockFieldTest() - Constructor for class otherTests.testng.TestNGSharedMockFieldTest
- TestNGSharedMockFieldTest.BaseType - Interface in otherTests.testng
- TestNGSharedMockFieldTest.Collaborator - Class in otherTests.testng
- TestNGSharedMockFieldTest.Dependency - Interface in otherTests.testng
- TestNGSharedMockFieldTest.SubType - Interface in otherTests.testng
- TestNGViolatedExpectationsTest - Class in otherTests.testng
- TestNGViolatedExpectationsTest() - Constructor for class otherTests.testng.TestNGViolatedExpectationsTest
- testSomething() - Method in class otherTests.testng.DynamicMockingInBeforeMethodTest
- testSomething() - Method in class otherTests.testng.TestNGExpectationsTest
- testSomething(String, String) - Method in class otherTests.testng.TestNGParametersTest
- testSomethingElse() - Method in class otherTests.testng.DynamicMockingInBeforeMethodTest
- testSomethingElse() - Method in class otherTests.testng.TestNGExpectationsTest
- TestSuiteWithBeforeClass - Class in mockit.integration.junit4
- TestSuiteWithBeforeClass() - Constructor for class mockit.integration.junit4.TestSuiteWithBeforeClass
- testUseClassMockedInPreviousJUnit4TestClass() - Method in class otherTests.JUnit38StyleTest
-
Test use class mocked in previous J unit 4 test class.
- testWithoutParameters() - Method in class otherTests.testng.TestNGParametersTest
- ThirdJUnit4DecoratorTest - Class in mockit.integration.junit4
- ThirdJUnit4DecoratorTest() - Constructor for class mockit.integration.junit4.ThirdJUnit4DecoratorTest
- ThirdJUnit4DecoratorTest.FakeClass4 - Class in mockit.integration.junit4
- ThirdJUnit4DecoratorTest.RealClass4 - Class in mockit.integration.junit4
- throwExceptionFromSecondInvocationOfConstructor(ExpectationsUsingResultFieldTest.Collaborator) - Method in class mockit.ExpectationsUsingResultFieldTest
-
Throw exception from second invocation of constructor.
- thrown - Variable in class mockit.AssertionErrorMessagesTest
-
The thrown.
- thrown - Variable in class mockit.DelegateTest
-
The thrown.
- thrown - Variable in class mockit.ExpectationsTest
-
The thrown.
- thrown - Variable in class mockit.ExpectationsUsingResultFieldTest
-
The thrown.
- thrown - Variable in class mockit.ExpectationsUsingReturnTypeConversionTest
-
The thrown.
- thrown - Variable in class mockit.ExpectationsWithArgMatchersTest
-
The thrown.
- thrown - Variable in class mockit.ExpectationsWithVarArgsMatchersTest
-
The thrown.
- thrown - Variable in class mockit.FullVerificationsTest
-
The thrown.
- thrown - Variable in class mockit.InvocationBlocksWithTimesFieldsTest
-
The thrown.
- thrown - Variable in class mockit.MisusedMockingAPITest
-
The thrown.
- thrown - Variable in class mockit.MockInstanceMatchingTest
-
The thrown.
- thrown - Variable in class mockit.MockInvocationTest
- thrown - Variable in class mockit.PartialMockingTest
-
The thrown.
- thrown - Variable in class mockit.TestedFieldWithFailedConstructorDITest
-
The thrown.
- thrown - Variable in class mockit.TestedFieldWithFailedFullDITest
-
The thrown.
- thrown - Variable in class mockit.VerificationsInOrderTest
-
The thrown.
- thrown - Variable in class mockit.VerificationsTest
-
The thrown.
- toString() - Method in class mockit.ClassWithObjectOverrides
U
- unexpectedInvocationForExpectationsVerifiedInOrder() - Method in class mockit.AssertionErrorMessagesTest
-
Unexpected invocation for expectations verified in order.
- unexpectedInvocationForRecordedExpectation() - Method in class mockit.AssertionErrorMessagesTest
-
Unexpected invocation for recorded expectation.
- unexpectedInvocationForRecordedExpectationWithMaximumInvocationCountOfZero() - Method in class mockit.AssertionErrorMessagesTest
-
Unexpected invocation for recorded expectation with maximum invocation count of zero.
- unexpectedInvocationForVerifiedExpectation() - Method in class mockit.AssertionErrorMessagesTest
-
Unexpected invocation for verified expectation.
- unexpectedInvocationOnMethodWithNoParameters() - Method in class mockit.AssertionErrorMessagesTest
-
Unexpected invocation on method with no parameters.
- unexpectedInvocationWhereExpectingAnotherForRecordedExpectations() - Method in class mockit.AssertionErrorMessagesTest
-
Unexpected invocation where expecting another for recorded expectations.
- unordered_maxTimesDoesNotOverwriteMinTimes(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Unordered max times does not overwrite min times.
- unordered_minTimesAndMaxTimesOutOfOrder(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Unordered min times and max times out of order.
- unordered_verifyAtLeastOnceAndReplayTwice(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Unordered verify at least once and replay twice.
- unordered_verifyAtMostOnceButReplayTwice(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Unordered verify at most once but replay twice.
- unordered_verifyAtMostTwiceAndReplayOnce(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Unordered verify at most twice and replay once.
- unordered_verifyAtMostZero(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Unordered verify at most zero.
- unordered_verifyAtMostZeroButReplayOnce(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Unordered verify at most zero but replay once.
- unordered_verifyOneOrMoreTimesAndReplayTwice(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Unordered verify one or more times and replay twice.
- unordered_verifySameMethodOnceOrTwiceThenOnceButReplayEachExpectationOnlyOnce(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Unordered verify same method once or twice then once but replay each expectation only once.
- unordered_verifyTwiceByUsingInvocationCount(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Unordered verify twice by using invocation count.
- unordered_verifyTwiceByUsingInvocationCountButReplayOnlyOnce(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Unordered verify twice by using invocation count but replay only once.
- unordered_verifyTwoOrThreeTimes(InvocationBlocksWithTimesFieldsTest.Collaborator) - Method in class mockit.InvocationBlocksWithTimesFieldsTest
-
Unordered verify two or three times.
- useArgumentMatchingFields(JUnit4Test.AnotherClass) - Method in class otherTests.JUnit4Test
-
Use argument matching fields.
- useArgumentMatchingMethods(JUnit4Test.AnotherClass) - Method in class otherTests.JUnit4Test
-
Use argument matching methods.
- useClassScopedFakeDefinedForThisClass() - Method in class mockit.integration.junit4.SecondJUnit4DecoratorTest
- useClassScopedFakeDefinedForThisClass() - Method in class mockit.integration.junit4.ThirdJUnit4DecoratorTest
- useClassScopedMockDefinedByBaseClass() - Method in class mockit.integration.junit4.JUnit4DecoratorTest
- UseDependencyTest - Class in mockit.integration.junit4
- UseDependencyTest() - Constructor for class mockit.integration.junit4.UseDependencyTest
- useExpectationResultRecordedOnCascadedInstance(ITestContext) - Method in class otherTests.testng.TestNGCascadingTest
- useExpectationResultRecordedOnCascadedInstanceFromSetupMethod() - Method in class otherTests.testng.TestNGCascadingInSetupTest
- useFieldSetThroughDirectClassInitializationRatherThanBeforeClassMethod() - Method in class mockit.integration.junit4.UseDependencyTest
- useFieldSetThroughDirectInstanceInitializationRatherThanBeforeMethod() - Method in class mockit.integration.junit4.UseDependencyTest
- useMockedBufferedWriter() - Method in class otherTests.testng.TestNGSharedMockFieldTest
- useMockedDependencies() - Method in class mockit.integration.junit4.MockDependencyTest
- useMockedDependency() - Method in class mockit.integration.junit4.UseDependencyTest
- useMockedInstance() - Method in class otherTests.JUnit4Test
-
Use mocked instance.
- useMockedJREClassesDuringTestedObjectCreation(File) - Method in class mockit.TestedClassWithConstructorDI4Test
-
Use mocked JRE classes during tested object creation.
- useMockedMethodBeforeRecordingExpectationWithArgumentMatcher() - Method in class mockit.ExpectationsWithArgMatchersTest
-
Use mocked method before recording expectation with argument matcher.
- useOfContextParametersForJREMethods() - Method in class mockit.MockInvocationTest
- useParameters(Runnable) - Method in class mockit.JUnit4ParametersTest
-
Use parameters.
- usingDataProvider(int, String) - Method in class otherTests.testng.TestNGParametersTest
V
- validatePublicVoidNoArgMethods(Class<? extends Annotation>, boolean, List<Throwable>) - Method in class mockit.integration.junit4.JUnit4CustomRunnerTest.CustomRunner
- value - Variable in class mockit.ExpectationsForConstructorsTest.BaseCollaborator
-
The value.
- VerificationsInOrderTest - Class in mockit
-
The Class VerificationsInOrderTest.
- VerificationsInOrderTest() - Constructor for class mockit.VerificationsInOrderTest
- VerificationsInOrderTest.Dependency - Class in mockit
-
The Class Dependency.
- VerificationsTest - Class in mockit
-
The Class VerificationsTest.
- VerificationsTest() - Constructor for class mockit.VerificationsTest
- VerificationsTest.Dependency - Class in mockit
-
The Class Dependency.
- verifyAllInvocations() - Method in class mockit.FullVerificationsTest
-
Verify all invocations.
- verifyAllInvocationsExceptThoseAlreadyVerifiedInAPreviousVerificationBlock() - Method in class mockit.FullVerificationsTest
-
Verify all invocations except those already verified in A previous verification block.
- verifyAllInvocationsWithExtraVerification() - Method in class mockit.FullVerificationsTest
-
Verify all invocations with extra verification.
- verifyAllInvocationsWithInvocationCountMoreThanActual() - Method in class mockit.FullVerificationsTest
-
Verify all invocations with invocation count more than actual.
- verifyAllInvocationsWithInvocationCountOneLessThanActual() - Method in class mockit.FullVerificationsTest
-
Verify all invocations with invocation count one less than actual.
- verifyAllInvocationsWithInvocationCountTwoLessThanActual() - Method in class mockit.FullVerificationsTest
-
Verify all invocations with invocation count two less than actual.
- verifyAllInvocationsWithOneMissing() - Method in class mockit.FullVerificationsTest
-
Verify all invocations with one missing.
- verifyAllInvocationsWithSomeOfThemRecorded() - Method in class mockit.FullVerificationsTest
-
Verify all invocations with some of them recorded.
- verifyAllInvocationsWithSomeOfThemRecorded() - Method in class mockit.VerificationsInOrderTest
-
Verify all invocations with some of them recorded.
- verifyAllInvocationsWithThoseRecordedAsExpectedToOccurVerifiedImplicitly() - Method in class mockit.FullVerificationsTest
-
Verify all invocations with those recorded as expected to occur verified implicitly.
- verifyExpectationMatchingOnMockInstance(MockInstanceMatchingTest.Collaborator) - Method in class mockit.MockInstanceMatchingTest
-
Verify expectation matching on mock instance.
- verifyExpectationNumericEqualityMatcherButFailToMatchOnReplay() - Method in class mockit.ExpectationsWithArgMatchersTest
-
Verify expectation numeric equality matcher but fail to match on replay.
- verifyExpectationOnBaseConstructorReplayedWithCallToSuper(ExpectationsForConstructorsTest.Base) - Method in class mockit.ExpectationsForConstructorsTest
-
Verify expectation on base constructor replayed with call to super.
- verifyExpectationsMatchingOnMultipleMockInstances(MockInstanceMatchingTest.Collaborator) - Method in class mockit.MockInstanceMatchingTest
-
Verify expectations matching on multiple mock instances.
- verifyExpectationsMatchingOnMultipleMockParametersButReplayedOutOfOrder(AbstractExecutorService, AbstractExecutorService) - Method in class mockit.MockInstanceMatchingTest
-
Verify expectations matching on multiple mock parameters but replayed out of order.
- verifyExpectationsOnSameMethodCallForDifferentMockedInstances(MockInstanceMatchingTest.Collaborator) - Method in class mockit.MockInstanceMatchingTest
-
Verify expectations on same method call for different mocked instances.
- verifyExpectationsUsingNumericEqualityMatchers() - Method in class mockit.ExpectationsWithArgMatchersTest
-
Verify expectations using numeric equality matchers.
- verifyExpectationUsingInequalityMatcherButFailToMatchOnReplay() - Method in class mockit.ExpectationsWithArgMatchersTest
-
Verify expectation using inequality matcher but fail to match on replay.
- verifyExpectationUsingNumericEqualityMatcherButReplayWithNonNumericParameterType() - Method in class mockit.ExpectationsWithArgMatchersTest
-
Verify expectation using numeric equality matcher but replay with non numeric parameter type.
- verifyingCallsOnSpecificInstancesOfDifferentSubclasses(MockInstanceMatchingTest.SubclassA, MockInstanceMatchingTest.SubclassA, MockInstanceMatchingTest.SubclassB) - Method in class mockit.MockInstanceMatchingTest
-
Verifying calls on specific instances of different subclasses.
- verifyInvocationNotExpectedToOccurButWhichDoes() - Method in class mockit.VerificationsInOrderTest
-
Verify invocation not expected to occur but which does.
- verifyInvocationsWithExactInvocationCountsHavingRecordedMatchingExpectationWithArgumentMatcher() - Method in class mockit.VerificationsInOrderTest
-
Verify invocations with exact invocation counts having recorded matching expectation with argument matcher.
- verifyInvocationsWithInvocationCount() - Method in class mockit.VerificationsTest
-
Verify invocations with invocation count.
- verifyInvocationsWithInvocationCountLargerThanOccurred() - Method in class mockit.VerificationsTest
-
Verify invocations with invocation count larger than occurred.
- verifyInvocationsWithInvocationCountSmallerThanOccurred() - Method in class mockit.VerificationsTest
-
Verify invocations with invocation count smaller than occurred.
- verifyInvocationThatIsAllowedToHappenAnyNumberOfTimesAndHappensOnce() - Method in class mockit.FullVerificationsTest
-
Verify invocation that is allowed to happen any number of times and happens once.
- verifyInvocationThatIsAllowedToHappenAnyNumberOfTimesAndHappensOnce() - Method in class mockit.VerificationsInOrderTest
-
Verify invocation that is allowed to happen any number of times and happens once.
- verifyInvocationThatIsAllowedToHappenOnceOrMoreAndHappensOnce() - Method in class mockit.VerificationsTest
-
Verify invocation that is allowed to happen once or more and happens once.
- verifyInvocationThatMatchesExpectationRecordedWithAnyMatcherButWithArgumentValueWhichDidNotOccur() - Method in class mockit.VerificationsTest
-
Verify invocation that matches expectation recorded with any matcher but with argument value which did not occur.
- verifyInvocationThatShouldNotOccurButDid() - Method in class mockit.VerificationsTest
-
Verify invocation that should not occur but did.
- verifyNoInvocationsOccurredOnMockedDependencyWithOneHavingOccurred() - Method in class mockit.FullVerificationsTest
-
Verify no invocations occurred on mocked dependency with one having occurred.
- verifyNoInvocationsOnMockedDependencyBeyondThoseRecordedAsExpected() - Method in class mockit.FullVerificationsTest
-
Verify no invocations on mocked dependency beyond those recorded as expected.
- verifyNoInvocationsOnMockedDependencyBeyondThoseRecordedAsExpectedWithOneHavingOccurred() - Method in class mockit.FullVerificationsTest
-
Verify no invocations on mocked dependency beyond those recorded as expected with one having occurred.
- verifyNoUnverifiedInvocationsWhenFirstInvocationOfMethodIsButSecondOneIsNot() - Method in class mockit.FullVerificationsTest
-
Verify no unverified invocations when first invocation of method is but second one is not.
- verifyNoUnverifiedInvocationsWhenSecondInvocationOfMethodIsButFirstOneIsNot() - Method in class mockit.FullVerificationsTest
-
Verify no unverified invocations when second invocation of method is but first one is not.
- verifyOnMockInstanceButReplayOnDifferentInstance(MockInstanceMatchingTest.Collaborator) - Method in class mockit.MockInstanceMatchingTest
-
Verify on mock instance but replay on different instance.
- verifyOnSpecificMockInstancesButReplayOnDifferentOnes(MockInstanceMatchingTest.Collaborator) - Method in class mockit.MockInstanceMatchingTest
-
Verify on specific mock instances but replay on different ones.
- verifyOrderedInstantiationOfClassMockedTwice(MisusedMockingAPITest.Blah) - Method in class mockit.MisusedMockingAPITest
-
Verify ordered instantiation of class mocked twice.
- verifyRecordedInvocationThatIsAllowedToHappenAnyNoOfTimesAndDoesNotHappen() - Method in class mockit.FullVerificationsTest
-
Verify recorded invocation that is allowed to happen any no of times and does not happen.
- verifyRecordedInvocationThatNeverHappens() - Method in class mockit.VerificationsTest
-
Verify recorded invocation that never happens.
- verifyRecordedInvocationThatShouldHappenButDoesNot() - Method in class mockit.FullVerificationsTest
-
Verify recorded invocation that should happen but does not.
- verifyRecordedInvocationThatShouldHappenButDoesNot() - Method in class mockit.VerificationsInOrderTest
-
Verify recorded invocation that should happen but does not.
- verifyRepeatingInvocation() - Method in class mockit.VerificationsInOrderTest
-
Verify repeating invocation.
- verifyRepeatingInvocationThatOccursOneTimeMoreThanExpected() - Method in class mockit.VerificationsInOrderTest
-
Verify repeating invocation that occurs one time more than expected.
- verifyRepeatingInvocationUsingMatcher() - Method in class mockit.VerificationsInOrderTest
-
Verify repeating invocation using matcher.
- verifySecondSequenceOfInvocationsWithTimesConstraintAfterVerifyingLastInvocationOfFirstSequence() - Method in class mockit.VerificationsInOrderTest
-
Verify second sequence of invocations with times constraint after verifying last invocation of first sequence.
- verifySimpleInvocations() - Method in class mockit.VerificationsInOrderTest
-
Verify simple invocations.
- verifySimpleInvocations() - Method in class mockit.VerificationsTest
-
Verify simple invocations.
- verifySimpleInvocationsWhenOutOfOrder() - Method in class mockit.VerificationsInOrderTest
-
Verify simple invocations when out of order.
- verifyStandardBehaviorOfOverridableObjectMethodsInMockedInterface(Runnable, Runnable) - Method in class mockit.ObjectOverridesTest
-
Verify standard behavior of overridable object methods in mocked interface.
- verifyStandardBehaviorOfOverriddenObjectMethodsInMockedJREClass(Date, Date) - Method in class mockit.ObjectOverridesTest
-
Verify standard behavior of overridden object methods in mocked JRE class.
- verifyThatDynamicallyMockedClassIsStillMocked() - Method in class otherTests.testng.DynamicMockingInBeforeMethodTest
- verifyThroughCapturedArguments() - Method in class mockit.VerificationsTest
-
Verify through captured arguments.
- verifyTwoIndependentSequencesOfInvocationsWhichAreMixedTogether() - Method in class mockit.VerificationsInOrderTest
-
Verify two independent sequences of invocations which are mixed together.
- verifyTwoIndependentSequencesOfInvocationsWhichOccurSeparately() - Method in class mockit.VerificationsInOrderTest
-
Verify two independent sequences of invocations which occur separately.
- verifyUnorderedInstantiationOfClassMockedTwice(MisusedMockingAPITest.Blah) - Method in class mockit.MisusedMockingAPITest
-
Verify unordered instantiation of class mocked twice.
- verifyUnrecordedInvocationThatIsAllowedToHappenAnyNoOfTimesAndDoesNotHappen() - Method in class mockit.FullVerificationsTest
-
Verify unrecorded invocation that is allowed to happen any no of times and does not happen.
- verifyUnrecordedInvocationThatNeverHappens() - Method in class mockit.VerificationsTest
-
Verify unrecorded invocation that never happens.
- verifyUnrecordedInvocationThatShouldHappenButDoesNot() - Method in class mockit.FullVerificationsTest
-
Verify unrecorded invocation that should happen but does not.
- verifyUnrecordedInvocationThatShouldHappenButDoesNot() - Method in class mockit.VerificationsInOrderTest
-
Verify unrecorded invocation that should happen but does not.
- verifyUnrecordedInvocationThatShouldHappenButDoesNot() - Method in class mockit.VerificationsTest
-
Verify unrecorded invocation that should happen but does not.
- verifyUnrecordedInvocationThatShouldHappenExactlyOnceButDoesNot() - Method in class mockit.VerificationsInOrderTest
-
Verify unrecorded invocation that should happen exactly once but does not.
- verifyUnrecordedInvocationThatShouldNotHappenButDoes() - Method in class mockit.FullVerificationsTest
-
Verify unrecorded invocation that should not happen but does.
- verifyUnrecordedInvocationThatWasExpectedToNotHappen() - Method in class mockit.FullVerificationsTest
-
Verify unrecorded invocation that was expected to not happen.
- verifyUsingInvocationCountConstraintAndArgumentMatcherOnObjectWithMockedHashCode(VerificationsInOrderTest.ClassWithHashCode) - Method in class mockit.VerificationsInOrderTest
-
Verify using invocation count constraint and argument matcher on object with mocked hash code.
- verifyWithArgumentMatcher() - Method in class mockit.VerificationsInOrderTest
-
Verify with argument matcher.
- verifyWithArgumentMatcher() - Method in class mockit.VerificationsTest
-
Verify with argument matcher.
- verifyWithArgumentMatcherAndIndividualInvocationCounts() - Method in class mockit.VerificationsTest
-
Verify with argument matcher and individual invocation counts.
- verifyWithArgumentMatcherAndIndividualInvocationCountWhenOutOfOrder() - Method in class mockit.VerificationsInOrderTest
-
Verify with argument matcher and individual invocation count when out of order.
- verifyWithArgumentMatchersWhenOutOfOrder() - Method in class mockit.VerificationsInOrderTest
-
Verify with argument matchers when out of order.
- verifyWithCustomArgumentMatcher() - Method in class mockit.VerificationsTest
-
Verify with custom argument matcher.
- verifyWithCustomArgumentMatcherWithoutArgumentValue() - Method in class mockit.VerificationsTest
-
Verify with custom argument matcher without argument value.
- verifyWithIndividualInvocationCountsForNonConsecutiveInvocations() - Method in class mockit.VerificationsInOrderTest
-
Verify with individual invocation counts for non consecutive invocations.
- verityTwoInvocationsToMethodMatchedOnSpecificInstanceWithNoArgumentMatchers(VerificationsTest.Dependency) - Method in class mockit.VerificationsTest
-
Verity two invocations to method matched on specific instance with no argument matchers.
W
- withAnnotatedParameters(Runnable, Dependency) - Method in class mockit.integration.junit4.JUnit4CustomRunnerTest
- withNonAnnotatedParameters(Runnable, Dependency) - Method in class mockit.integration.junit4.JUnit4CustomRunnerTest
All Classes and Interfaces|All Packages