Search in sources :

Example 1 with GamePlayer

use of com.voxelgameslib.voxelgameslib.user.GamePlayer in project VoxelGamesLibv2 by VoxelGamesLib.

the class FeatureTest method getMockUser.

@Nonnull
public User getMockUser(@Nonnull String name) {
    User user = Mockito.spy(new GamePlayer());
    user.setDisplayName(name);
    return user;
}
Also used : User(com.voxelgameslib.voxelgameslib.user.User) GamePlayer(com.voxelgameslib.voxelgameslib.user.GamePlayer) Nonnull(javax.annotation.Nonnull)

Aggregations

GamePlayer (com.voxelgameslib.voxelgameslib.user.GamePlayer)1 User (com.voxelgameslib.voxelgameslib.user.User)1 Nonnull (javax.annotation.Nonnull)1