@Test
public void create() {

    ExtensionFactory extensionFactory = new SingletonExtensionFactory();
    Object extensionOne = extensionFactory.create(TestExtension.class);
    Object extensionTwo = extensionFactory.create(TestExtension.class);
    assertSame(extensionOne, extensionTwo);
}