All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.probedock.junitee.annotations.UseMock Maven / Gradle / Ivy

Go to download

JUnit data utilities to manage data in a database when doing tests like API tests against an application in application server.

The newest version!
package io.probedock.junitee.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Allows to inject Mocks in place of real implementation of classes
 * 
 * @author Laurent Prevost 
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface UseMock {
	/**
	 * @return List class that can be used to mock other classes
	 */
	Class[] value();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy