This commit is contained in:
Gabriele C
2016-06-03 00:07:25 +02:00
parent 6d2597a980
commit eafb3b6653
4 changed files with 3 additions and 3 deletions
@@ -57,6 +57,7 @@ public class CommandConsistencyTest {
*
* @return collection of all base command labels
*/
@SuppressWarnings("unchecked")
private static Collection<List<String>> initializeCommands() {
AuthMeServiceInitializer injector = mock(AuthMeServiceInitializer.class);
given(injector.newInstance(any(Class.class))).willAnswer(new Answer<Object>() {
@@ -49,6 +49,7 @@ public class ListenerServiceTest {
@Mock
private PlayerCache playerCache;
@SuppressWarnings("rawtypes")
@Before
public void initializeTestSetup() {
given(settings.getProperty(RegistrationSettings.FORCE)).willReturn(true);