public class BoatDropsTest {
@Test
public void testOnVehicleDestroy() {
VehicleDestroyEvent event = mock(VehicleDestroyEvent.class);
Boat boat = mock(Boat.class);
Location loc = mock(Location.class);
World world = mock(World.class);
when(loc.getWorld()).thenReturn(world);
when(boat.getLocation()).thenReturn(loc);
when(event.getVehicle()).thenReturn(boat);
when(event.getAttacker()).thenReturn(null);
new Drops().onVehicleDestroy(event);
verify(event).setCancelled(true);
verify(boat).remove();