mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-09-18 21:54:50 +00:00

Cleaned up all of the CraftBukkit tests, including moving some tests from MaterialTest to PerMaterialTest.
18 lines
382 B
Java
18 lines
382 B
Java
package org.bukkit;
|
|
|
|
import static org.junit.Assert.*;
|
|
import static org.hamcrest.Matchers.*;
|
|
|
|
import org.bukkit.craftbukkit.CraftSound;
|
|
import org.junit.Test;
|
|
|
|
|
|
public class SoundTest {
|
|
|
|
@Test
|
|
public void testGetSound() {
|
|
for (Sound sound : Sound.values()) {
|
|
assertThat(sound.name(), CraftSound.getSound(sound), is(not(nullValue())));
|
|
}
|
|
}
|
|
}
|