@Test public void testCreateFragment() {

	// Arrange:
	final BaseFragmentFactory factory = new TestFactory();
	// Act + Assert:
	assertThat(factory.createFragment(TestFactory.FRAGMENT_NOT_PROVIDED), is(nullValue()));
	assertThat(factory.createFragment(TestFactory.FRAGMENT_1), instanceOf(TestFragment1.class));
	assertThat(factory.createFragment(TestFactory.FRAGMENT_3), instanceOf(TestFragment3.class));
	assertThat(factory.createFragment(TestFactory.FRAGMENT_4), instanceOf(TestFragment4.class));
}