public interface SoundReceiver
PlayerMock, however
the sheer amount of assertion methods did warrant a seperate a file at some point.PlayerMock| Modifier and Type | Method and Description |
|---|---|
default void |
addHeardSound(@NotNull AudioExperience audioExperience) |
default void |
assertSoundHeard(@NotNull org.bukkit.Sound sound) |
default void |
assertSoundHeard(@NotNull org.bukkit.Sound sound,
@NotNull java.util.function.Predicate<AudioExperience> predicate) |
default void |
assertSoundHeard(@NotNull java.lang.String sound) |
default void |
assertSoundHeard(@NotNull java.lang.String sound,
@NotNull java.util.function.Predicate<AudioExperience> predicate) |
default void |
assertSoundHeard(@NotNull java.lang.String message,
@NotNull org.bukkit.Sound sound) |
default void |
assertSoundHeard(@NotNull java.lang.String message,
@NotNull org.bukkit.Sound sound,
@NotNull java.util.function.Predicate<AudioExperience> predicate) |
default void |
assertSoundHeard(@NotNull java.lang.String message,
@NotNull java.lang.String sound) |
default void |
assertSoundHeard(@NotNull java.lang.String message,
@NotNull java.lang.String sound,
@NotNull java.util.function.Predicate<AudioExperience> predicate) |
default void |
clearSounds() |
@NotNull java.util.List<AudioExperience> |
getHeardSounds()
This returns a
List of every AudioExperience this receiver has received. |
@NotNull @NotNull java.util.List<AudioExperience> getHeardSounds()
List of every AudioExperience this receiver has received.List containing every heard sound.default void addHeardSound(@NotNull
@NotNull AudioExperience audioExperience)
default void clearSounds()
default void assertSoundHeard(@NotNull
@NotNull org.bukkit.Sound sound)
default void assertSoundHeard(@NotNull
@NotNull java.lang.String sound)
default void assertSoundHeard(@NotNull
@NotNull org.bukkit.Sound sound,
@NotNull
@NotNull java.util.function.Predicate<AudioExperience> predicate)
default void assertSoundHeard(@NotNull
@NotNull java.lang.String sound,
@NotNull
@NotNull java.util.function.Predicate<AudioExperience> predicate)
default void assertSoundHeard(@NotNull
@NotNull java.lang.String message,
@NotNull
@NotNull org.bukkit.Sound sound)
default void assertSoundHeard(@NotNull
@NotNull java.lang.String message,
@NotNull
@NotNull java.lang.String sound)
default void assertSoundHeard(@NotNull
@NotNull java.lang.String message,
@NotNull
@NotNull org.bukkit.Sound sound,
@NotNull
@NotNull java.util.function.Predicate<AudioExperience> predicate)
default void assertSoundHeard(@NotNull
@NotNull java.lang.String message,
@NotNull
@NotNull java.lang.String sound,
@NotNull
@NotNull java.util.function.Predicate<AudioExperience> predicate)