@Test public void testCaptureEndValues() {

	// Arrange:
	final int[] mockLocationOnScreen = new int[]{100, 300};
	final View mockView = new View(context) {
		@Override public void getLocationOnScreen(@Size(value = 2) final int[] outLocation) {
			outLocation[0] = mockLocationOnScreen[0];
			outLocation[1] = mockLocationOnScreen[1];
		}
	};
	final TransitionValues values = new TransitionValues();
	values.view = mockView;
	final Translate translate = new Translate();
	// Act:
	translate.captureEndValues(values);
	// Assert:
	final int[] locationOnScreen = (int[]) values.values.get(Translate.PROPERTY_TRANSITION_LOCATION_ON_SCREEN);
	assertThat(locationOnScreen, is(notNullValue()));
	assertThat(locationOnScreen.length, is(2));
	assertThat(locationOnScreen[0], is(mockLocationOnScreen[0]));
	assertThat(locationOnScreen[1], is(mockLocationOnScreen[1]));
}