package de.twenty11.skysail.api.forms.test;

import static org.hamcrest.Matchers.is;
import static org.junit.Assert.*;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;

import de.twenty11.skysail.api.forms.IgnoreSelectionProvider;

@RunWith(MockitoJUnitRunner.class)
public class IgnoreSelectionProviderTest {
	
	@Mock
	private Object configuration;

	@InjectMocks
	private IgnoreSelectionProvider ignoreSelectionProvider;

	@Test
	public void testName() throws Exception {
		assertThat(ignoreSelectionProvider.getSelections().size(), is(1));
	}
}

package de.twenty11.skysail.api.forms.test;

import static org.hamcrest.Matchers.is;
import static org.junit.Assert.*;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;

import de.twenty11.skysail.api.forms.IgnoreSelectionProvider;

@RunWith(MockitoJUnitRunner.class)
public class IgnoreSelectionProviderTest {
	
	@Mock
	private Object configuration;

	@InjectMocks
	private IgnoreSelectionProvider ignoreSelectionProvider;

	@Test
	public void testName() throws Exception {
		assertThat(ignoreSelectionProvider.getSelections().size(), is(0));
	}
}

test fix