mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 19:34:09 +01:00
e9ae9842f0
By: md_5 <git@md-5.net>
14 lines
368 B
Java
14 lines
368 B
Java
package org.bukkit;
|
|
|
|
import static org.hamcrest.CoreMatchers.*;
|
|
import static org.junit.Assert.*;
|
|
import org.junit.Test;
|
|
|
|
public class EntityEffectTest {
|
|
@Test
|
|
public void getByData() {
|
|
for (EntityEffect entityEffect : EntityEffect.values()) {
|
|
assertThat(EntityEffect.getByData(entityEffect.getData()), is(entityEffect));
|
|
}
|
|
}
|
|
}
|