Then let's do it like this:

```java
final Github github = Mockito.mock(Github.class);
Mockito.doReturn(new Coordinates.Simple("mark", "test")).when(github).coordinates();
```

It's better than instantiating an object that is wired to a production github server. Not a safe approach for a unit test.