2012-09-26 23:34:06 +02:00
|
|
|
package org.bukkit;
|
|
|
|
|
2012-12-14 09:02:02 +01:00
|
|
|
import static org.junit.Assert.*;
|
|
|
|
import static org.hamcrest.Matchers.*;
|
2012-09-26 23:34:06 +02:00
|
|
|
|
|
|
|
import org.bukkit.craftbukkit.CraftSound;
|
|
|
|
import org.junit.Test;
|
|
|
|
|
|
|
|
|
|
|
|
public class SoundTest {
|
|
|
|
|
|
|
|
@Test
|
|
|
|
public void testGetSound() {
|
|
|
|
for (Sound sound : Sound.values()) {
|
2012-12-14 09:02:02 +01:00
|
|
|
assertThat(sound.name(), CraftSound.getSound(sound), is(not(nullValue())));
|
2012-09-26 23:34:06 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|