@Test public void testFlag() {

	// Arrange:
	final SimpleIntent intent = new SimpleIntent();
	// Act:
	intent.flags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK);
	intent.flag(Intent.FLAG_ACTIVITY_NO_ANIMATION);
	// Assert:
	assertThat(intent.flags(), is(Intent.FLAG_ACTIVITY_CLEAR_TASK |
			Intent.FLAG_ACTIVITY_NEW_TASK |
			Intent.FLAG_ACTIVITY_NO_ANIMATION));
}