test/src/main/java/de/taimos/dvalin/test/inject/InjectionMock.java
/**
     * add the given mock to the list of available mocks
     *
     * @param fieldName  the name of the field the mock was injected into
     * @param mock       the mock object itself
     * @param targetType the type of the field the mock was injected into
     * @param qualifier  the qualifier of the field the mock was injected into
     */
add the given mock to the list of available mocks
@param fieldName  the name of the field the mock was injected into
@param mock       the mock object itself
@param targetType the type of the field the mock was injected into
@param qualifier  the qualifier of the field the mock was injected into
add the given mock to the list of available mocks @param fieldName the name of the field the mock was injected into @param mock the mock object itself @param targetType the type of the field the mock was injected into @param qualifier the qualifier of the field the mock was injected into
public void addMock(String fieldName, Object mock, Class<?> targetType, String qualifier) {
        InjectedMock im = new InjectedMock();
        im.fieldName = fieldName;
        im.mock = mock;
        im.targetType = targetType;
        im.qualifier = qualifier;
        this.mocks.put(fieldName, im);
    }
public void addMock ( String fieldName , Object mock , Class < ? > targetType , String qualifier ) { InjectedMock im = new InjectedMock ( ) ; im . fieldName = fieldName ; im . mock = mock ; im . targetType = targetType ; im . qualifier = qualifier ; this . mocks . put ( fieldName , im ) ; }
add the given mock to the list of available mocks
 @param fieldName  the name of the field the mock was injected into
 @param mock       the mock object itself
 @param targetType the type of the field the mock was injected into
 @param qualifier  the qualifier of the field the mock was injected into
add the given mock to the list of available mocks @param fieldName the name of the field the mock was injected into @param mock the mock object itself @param targetType the type of the field the mock was injected into @param qualifier the qualifier of the field the mock was injected into