@SuppressWarnings("ResourceType")
@Test public void testCreateAnimator() {

	// Arrange:
	final View view = createViewAttachedToWindow();
	// Act + Assert:
	assertThatAnimatorIsValid(Scale.createAnimator(view, 0.25f, 0.75f), view, 0.25f, 0.25f);
	assertThatAnimatorIsValid(Scale.createAnimator(view, -0.25f, 0.75f), view, 0.0f, 0.0f);
	assertThatAnimatorIsValid(Scale.createAnimator(view, 0.25f, -0.75f), view, 0.25f, 0.25f);
}