### Question:
JooqUnitOfWorkFactoryImpl implements JooqUnitOfWorkFactory { @Override public UnitOfWork create(Connection connection) { return new JooqUnitOfWork(connection); }  @Override UnitOfWork create(Connection connection);  }### Answer:
@Test public void testCreate() throws Exception { JooqUnitOfWorkFactoryImpl sut = new JooqUnitOfWorkFactoryImpl(); try (Connection connection = DriverManager.getConnection("jdbc:h2:mem:test")) { UnitOfWork unitOfWork = sut.create(connection); assertThat(unitOfWork, is(notNullValue())); assertThat(unitOfWork, instanceOf(JooqUnitOfWork.class)); } }