robolectric/robolectric — pull request #1413 by jhansche (2014-12-04 23:26:10+00:00)
Title: Implement `Toast#getXOffset()` and `Toast#getYOffset()` in the shadow

Calling the real offset methods results in a NullPointerException, as
`mTN` is null. This implements the methods similarly to how `getGravity()`
is done.