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

org.kubek2k.springockito.annotations.ReplaceWithMock Maven / Gradle / Ivy

There is a newer version: 1.0.9
Show newest version
package org.kubek2k.springockito.annotations;

import org.mockito.Answers;

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

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface ReplaceWithMock {

    //mock settings

    String name() default "";

    Answers defaultAnswer() default Answers.RETURNS_DEFAULTS;

    Class[] extraInterfaces() default {};

    //bean naming

    BeanNameStrategy beanNameStrategy() default BeanNameStrategy.DEFAULT;

    String beanName() default "";

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy