VehicleDestroyEvent event = mock(VehicleDestroyEvent.class);
Boat boat = mock(Boat.class);
when(event.getVehicle()).thenReturn(boat);
new Uncrashable().onVehicleDestroy(event);
when(event.getAttacker()).thenReturn(mock(LivingEntity.class));
new Uncrashable().onVehicleDestroy(event);
verify(event).setCancelled(true);
verify(boat).setVelocity(new Vector(0,0,0));
}