@Test public void testResolveCenterPosition() {

	// Arrange:
	final View view = new View(context);
	view.setLeft(0);
	view.setRight(100);
	view.setTop(0);
	view.setBottom(200);
	final float[] centerPosition = Reveal.resolveCenterPosition(view);
	// Act:
	final float[] center = Reveal.resolveCenter(view);
	// Assert:
	assertThat(centerPosition, is(notNullValue()));
	assertThat(centerPosition.length, is(2));
	assertThat(centerPosition[0], is(view.getX() + center[0]));
	assertThat(centerPosition[1], is(view.getY() + center[1]));
}