summaryrefslogtreecommitdiffstats
path: root/src/test/java/org/bukkit/SoundTest.java
blob: c9865fa089c7dbaeeb2648053aabd3ff539945d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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())));
        }
    }
}