Annotation Type GwtMock

public @interface GwtMock

Annotates a field to be filled with a mock object and returned via calls to GWT.create. Any calls to GWT.create for a type matching the type of the field will return that field. In order for this annotation to take effect, the test must either be run with GwtMockitoTestRunner or it must invoke GwtMockito.initMocks(java.lang.Object).

Author: (Erik Kuefler)
See Also:

Copyright © 2013. All Rights Reserved.