Add Bukkit.getVersion test
This commit is contained in:
parent
123e2f546c
commit
e1762aea23
1 changed files with 1 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ public class BasicReflectionTest {
|
|||
server = Mockito.mock(CraftServer.class);
|
||||
holder = Mockito.mockStatic(Bukkit.class);
|
||||
holder.when(Bukkit::getServer).thenReturn(server);
|
||||
holder.when(Bukkit::getVersion).thenReturn("(MC: 1.16.3)");
|
||||
}
|
||||
|
||||
@AfterEach
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue