@SuppressWarnings("ConstantConditions")
@Test public void testOnCreateFragmentTag() {

	// Arrange:
	final BaseFragmentFactory factory = new TestFactory();
	// Act + Assert:
	assertThat(
			factory.onCreateFragmentTag(TestFactory.FRAGMENT_NOT_PROVIDED),
			is(BaseFragmentFactory.createFragmentTag(TestFactory.class, Integer.toString(TestFactory.FRAGMENT_NOT_PROVIDED)))
	);
	for (final int providedFragmentId : TestFactory.providedFragmentIds) {
		assertThat(
				factory.onCreateFragmentTag(providedFragmentId),
				is(factory.getAnnotationHandler().getFragmentItems().get(providedFragmentId).tag)
		);
	}
}