### Question:
VirtualGamePlayerStorage implements GamePlayerStorage<P> { @Override public P getPlayer(UUID player) { return storage.getOrDefault(player, absencePlaceholder); }  @Override P getPlayer(UUID player); @Override void addPlayer(UUID player, P gamePlayer); @Override void removePlayer(UUID player); @Override Collection<P> getAllPlayers(); @Override long getAlivePlayerCount(); @Override boolean contains(UUID uuid);  }### Answer:
@Test public void whenPlayerExistThenReturnedByGet() { GamePlayer gamePlayer = putPlayer(); assertSame(gamePlayer, storage.getPlayer(gamePlayer.getId())); }
@Test public void whenPlayerDoesNotExistThenNullReturned() { assertEquals(NullPlayer.class, storage.getPlayer(UUID.randomUUID()).getClass()); }