com.atlassian.jira.easymock
Annotation Type Mock


@Target(value=FIELD)
@Retention(value=RUNTIME)
public @interface Mock

Marks a given test field as a mock.

Since:
4.4

Optional Element Summary
 MockType value
          Indicates the type of mock that is used.
 

value

public abstract MockType value
Indicates the type of mock that is used.

Returns:
a MockType
Default:
com.atlassian.jira.easymock.MockType.NICE


Copyright © 2002-2011 Atlassian. All Rights Reserved.