mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-27 17:00:34 +01:00
15 lines
331 B
Java
15 lines
331 B
Java
package org.bukkit;
|
|
|
|
import static org.hamcrest.CoreMatchers.is;
|
|
import static org.junit.Assert.assertThat;
|
|
|
|
import org.junit.Test;
|
|
|
|
public class EffectTest {
|
|
@Test
|
|
public void getById() {
|
|
for (Effect effect : Effect.values()) {
|
|
assertThat(Effect.getById(effect.getId()), is(effect));
|
|
}
|
|
}
|
|
}
|