Skip navigation links
A C D E F G H I M N O P R S T 

A

add(Type) - Method in class org.jvnet.testing.hk2mockito.internal.cache.MemberCache
 

C

ConcurrentMapFactory - Class in org.jvnet.testing.hk2mockito.internal.cache
ConcurrentHashMap provider.
ConcurrentMapFactory() - Constructor for class org.jvnet.testing.hk2mockito.internal.cache.ConcurrentMapFactory
 
createOrFindService(Injectee, ServiceHandle<?>) - Method in class org.jvnet.testing.hk2mockito.internal.MockitoService
Given an injectee create and cache or resolve the service associated with it.

D

dispose(Map) - Method in class org.jvnet.testing.hk2mockito.internal.cache.ConcurrentMapFactory
 

E

equals(Object) - Method in class org.jvnet.testing.hk2mockito.internal.MockitoCacheKey
 

F

findOrCreateCollaborator(int, String, Injectee, ServiceHandle<?>) - Method in class org.jvnet.testing.hk2mockito.internal.MockitoService
Given metadata about collaborator and an injectee create or resolve the collaborating service.
findOrCreateSUT(Injectee, ServiceHandle<?>) - Method in class org.jvnet.testing.hk2mockito.internal.MockitoService
Given an SUT annotation and an injectee resolve the service associated with the injectee and use the metadata in the SUT annotation to possibly create a mockito spy.

G

get(Type) - Method in class org.jvnet.testing.hk2mockito.internal.cache.MemberCache
 
get(Type) - Method in class org.jvnet.testing.hk2mockito.internal.cache.ParentCache
 

H

hashCode() - Method in class org.jvnet.testing.hk2mockito.internal.MockitoCacheKey
 
HK2Mockito - Annotation Type in org.jvnet.testing.hk2mockito.internal
Qualifier for internal services.
HK2MockitoInjectionResolver - Class in org.jvnet.testing.hk2mockito
This class is a custom resolver that creates or finds services and wraps in a spy.

I

isConstructorParameterIndicator() - Method in class org.jvnet.testing.hk2mockito.HK2MockitoInjectionResolver
 
isMethodParameterIndicator() - Method in class org.jvnet.testing.hk2mockito.HK2MockitoInjectionResolver
 

M

MC - Annotation Type in org.jvnet.testing.hk2mockito
@MC (Mock Collaborator) annotation is used on fields and methods of a Test class to inject a mock of the @SUT's collaborating services.
MemberCache - Class in org.jvnet.testing.hk2mockito.internal.cache
A cache service for tracking spy injectees and spy services.
MockitoCacheKey - Class in org.jvnet.testing.hk2mockito.internal
Cache key for spies created.
MockitoCacheKey(Type, Object) - Constructor for class org.jvnet.testing.hk2mockito.internal.MockitoCacheKey
 
MockitoService - Class in org.jvnet.testing.hk2mockito.internal
A helper service for creating SUT, SC, MC or regular service.

N

newKey(Type, Object) - Method in class org.jvnet.testing.hk2mockito.internal.ObjectFactory
 
newMock(Class<?>, MockSettings) - Method in class org.jvnet.testing.hk2mockito.internal.ObjectFactory
 
newSpy(Object) - Method in class org.jvnet.testing.hk2mockito.internal.ObjectFactory
 

O

ObjectFactory - Class in org.jvnet.testing.hk2mockito.internal
A factory class used to create various objects.
ObjectFactory() - Constructor for class org.jvnet.testing.hk2mockito.internal.ObjectFactory
 
org.jvnet.testing.hk2mockito - package org.jvnet.testing.hk2mockito
 
org.jvnet.testing.hk2mockito.internal - package org.jvnet.testing.hk2mockito.internal
 
org.jvnet.testing.hk2mockito.internal.cache - package org.jvnet.testing.hk2mockito.internal.cache
 

P

ParentCache - Class in org.jvnet.testing.hk2mockito.internal.cache
Cache service used to track parent child relationship between injectees and their parent.
provide() - Method in class org.jvnet.testing.hk2mockito.internal.cache.ConcurrentMapFactory
 
put(Type, Type) - Method in class org.jvnet.testing.hk2mockito.internal.cache.ParentCache
 

R

resolve(Injectee, ServiceHandle<?>) - Method in class org.jvnet.testing.hk2mockito.HK2MockitoInjectionResolver
 

S

SC - Annotation Type in org.jvnet.testing.hk2mockito
@SC (Service Collaborator) annotation is used on fields and methods of a Test class to inject spies of the @SUT's collaborating services.
SUT - Annotation Type in org.jvnet.testing.hk2mockito
@SUT (Service Under Test) is an annotation used on fields and methods of a Test class to inject a spy of the real service.

T

toString() - Method in class org.jvnet.testing.hk2mockito.internal.MockitoCacheKey
 
A C D E F G H I M N O P R S T 
Skip navigation links

Copyright © 2009–2020 Oracle Corporation. All rights reserved.