<commit_before>package eu.ydp.empiria.player.client.module.button.download.view;

import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.doReturn;
import static org.mockito.Mockito.spy;
import static org.mockito.Mockito.verify;

import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;

import com.google.gwt.dom.client.DivElement;
import com.google.gwt.junit.GWTMockUtilities;
import com.google.gwt.user.client.Element;
import com.google.gwt.user.client.ui.Anchor;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;

import eu.ydp.gwtutil.junit.runners.ExMockRunner;
import eu.ydp.gwtutil.junit.runners.PrepareForTest;

@RunWith(ExMockRunner.class)
@PrepareForTest({Composite.class,Widget.class,Element.class})
public class ButtonModuleViewImplTest {
	@Mock private DivElement description;
	@Mock private Element element;
	@Mock private Anchor anchor;
	@InjectMocks private final ButtonModuleViewImpl instance = spy(new ButtonModuleViewImpl());

	@BeforeClass
	public static void disarm() {
		GWTMockUtilities.disarm();<commit_msg>correct test<commit_after>package eu.ydp.empiria.player.client.module.button.download.view;

import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.doReturn;
import static org.mockito.Mockito.spy;
import static org.mockito.Mockito.verify;

import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;

import com.google.gwt.dom.client.DivElement;
import com.google.gwt.junit.GWTMockUtilities;
import com.google.gwt.user.client.Element;
import com.google.gwt.user.client.ui.Anchor;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;

import eu.ydp.gwtutil.junit.runners.ExMockRunner;
import eu.ydp.gwtutil.junit.runners.PrepareForTest;

@RunWith(ExMockRunner.class)
@PrepareForTest({Composite.class,Widget.class,Element.class,DivElement.class})
public class ButtonModuleViewImplTest {
	@Mock private DivElement description;
	@Mock private Element element;
	@Mock private Anchor anchor;
	@InjectMocks private final ButtonModuleViewImpl instance = spy(new ButtonModuleViewImpl());

	@BeforeClass
	public static void disarm() {
		GWTMockUtilities.disarm();
{'fraction_non_alphanumeric': 0.10946051602814699, 'fraction_numerical': 0.0, 'mean_word_length': 6.208450704225352, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3961516', 'n_tokens_mistral': 847, 'n_tokens_neox': 850, 'n_words': 152}