Skip to content

Commit

Permalink
Update emoteset test
Browse files Browse the repository at this point in the history
  • Loading branch information
mbax committed Dec 28, 2023
1 parent 3e8590e commit 040f22a
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package org.kitteh.irc.client.library.feature.twitch.messagetag;

import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.kitteh.irc.client.library.Client;
import org.mockito.Mockito;
import org.junit.Assert;
import org.junit.Test;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
Expand All @@ -20,7 +20,7 @@ public void verifyInteger(){
EmoteSets tested = EmoteSets.FUNCTION.apply(client, NAME, "123,456,789");

List<String> expected = Arrays.asList("123", "456", "789");
Assert.assertEquals(expected, tested.getEmoteSets());
Assertions.assertEquals(expected, tested.getEmoteSets());
}

/**
Expand All @@ -32,7 +32,7 @@ public void verifyUUID(){
EmoteSets tested = EmoteSets.FUNCTION.apply(client, NAME, "fb70df85-0e31-41ea-a13f-c3201bac7013,1a313266-b8e1-49c2-9409-68526a85a350");

List<String> expected = Arrays.asList("fb70df85-0e31-41ea-a13f-c3201bac7013", "1a313266-b8e1-49c2-9409-68526a85a350");
Assert.assertEquals(expected, tested.getEmoteSets());
Assertions.assertEquals(expected, tested.getEmoteSets());
}

/**
Expand All @@ -42,7 +42,7 @@ public void verifyUUID(){
public void verifyNull(){
Client client = Mockito.mock(Client.class);
EmoteSets tested = EmoteSets.FUNCTION.apply(client, NAME, null);
Assert.assertEquals(Collections.emptyList(), tested.getEmoteSets());

Assertions.assertEquals(Collections.emptyList(), tested.getEmoteSets());
}
}

0 comments on commit 040f22a

Please sign in to comment.