Fixing a test, new mockito version is more accurate with null values.
import org.openqa.selenium.WebElement;
import org.openqa.selenium.interactions.Actions;
import org.openqa.selenium.interactions.HasInputDevices;
+import org.openqa.selenium.interactions.Interactive;
import org.openqa.selenium.interactions.Mouse;
import org.openqa.selenium.interactions.internal.Coordinates;
import org.openqa.selenium.internal.FindsById;
@@ -182,6 +183,7 @@ public void testDecoratingProxyImplementsRequiredInterfaces() throws Exception {
final Mouse mouse = mock(Mouse.class);
when(driver.getMouse()).thenReturn(mouse);
+ when(element.getCoordinates()).thenReturn(mock(Coordinates.class));
when(driver.findElement(By.id("foo"))).thenReturn(element);
Page page = new Page();
