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

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