PlayerKill implements DateHolder { @Override public long getDate() { return date; } PlayerKill(UUID victim, String weapon, long date);  PlayerKill(UUID victim, String weapon, long date, String victimName);  PlayerKill(UUID victim, String weapon, long date, String victimName, String killerName); UUID getVictim(); Optional<String> getVictimName(); Optional<String> getKillerName(); @Override long getDate(); String getWeapon(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); boolean isSelfKill(); boolean isNotSelfKill();  }
@Test void dateIsReturned() { assertEquals(100L, underTest.getDate()); }