### Question:
ConnectionHandlerFactoryImplementation implements ConnectionHandlerFactory { public ConnectionHandler create(ConnectionDetails connectionDetails) { return new ConnectionHandlerImplementation(m_httpRecording, m_logger, m_regularExpressions, m_uriParser, m_attributeStringParser, m_postBodyStringEscaper, m_commentSource, connectionDetails); } ConnectionHandlerFactoryImplementation(
    HTTPRecording httpRecording,
    Logger logger,
    RegularExpressions regularExpressions,
    URIParser uriParser,
    AttributeStringParser attributeStringParser,
    StringEscaper postBodyStringEscaper,
    CommentSource commentSource); ConnectionHandler create(ConnectionDetails connectionDetails);  }### Answer:
@Test public void testFactory() { final ConnectionHandlerFactory factory = new ConnectionHandlerFactoryImplementation(m_httpRecording, m_logger, m_regularExpressions, m_uriParser, m_attributeStringParser, null, m_commentSource); final ConnectionHandler handler1 = factory.create(m_connectionDetails); final ConnectionHandler handler2 = factory.create(m_connectionDetails); assertNotSame(handler1, handler2); verifyNoMoreInteractions(m_httpRecording, m_logger, m_regularExpressions, m_uriParser, m_attributeStringParser); }