mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 09:34:44 +01:00
ac2271958e
By: Erik Broes <erikbroes@grum.nl>
15 lines
365 B
Java
15 lines
365 B
Java
package org.bukkit;
|
|
|
|
import static org.hamcrest.CoreMatchers.is;
|
|
import static org.junit.Assert.assertThat;
|
|
|
|
import org.junit.Test;
|
|
|
|
public class InstrumentTest {
|
|
@Test
|
|
public void getByType() {
|
|
for (Instrument instrument : Instrument.values()) {
|
|
assertThat(Instrument.getByType(instrument.getType()), is(instrument));
|
|
}
|
|
}
|
|
}
|