package org.bukkit; import static org.hamcrest.CoreMatchers.*; import static org.junit.Assert.*; import org.junit.Test; public class CropStateTest { @Test public void getByData() { for (CropState cropState : CropState.values()) { assertThat(CropState.getByData(cropState.getData()), is(cropState)); } } }