@Test public void shouldCreateDocumentTypeUsingConnection() throws Exception { binder.bind(expression, connection, qName, VALUE, TYPE); verify(connection).createTextType(); }
@Override public void bind(XQPreparedExpression expression, XQConnection connection, QName name, String value, String type) throws Exception { expression.bindNode(name, createTextNode(value), getType(connection)); }
TextBinder implements TypeBinder { @Override public void bind(XQPreparedExpression expression, XQConnection connection, QName name, String value, String type) throws Exception { expression.bindNode(name, createTextNode(value), getType(connection)); } }
TextBinder implements TypeBinder { @Override public void bind(XQPreparedExpression expression, XQConnection connection, QName name, String value, String type) throws Exception { expression.bindNode(name, createTextNode(value), getType(connection)); }  }
TextBinder implements TypeBinder { @Override public void bind(XQPreparedExpression expression, XQConnection connection, QName name, String value, String type) throws Exception { expression.bindNode(name, createTextNode(value), getType(connection)); }  @Override void bind(XQPreparedExpression expression, XQConnection connection, QName name, String value,
                                 String type); XQItemType getType(XQConnection connection); }
TextBinder implements TypeBinder { @Override public void bind(XQPreparedExpression expression, XQConnection connection, QName name, String value, String type) throws Exception { expression.bindNode(name, createTextNode(value), getType(connection)); }  @Override void bind(XQPreparedExpression expression, XQConnection connection, QName name, String value,
                                 String type); XQItemType getType(XQConnection connection);  }