### Question:
DocumentBinder implements TypeBinder { @Override public void bind(XQPreparedExpression expression, XQConnection connection, QName name, String value, String type) throws Exception { expression.bindDocument(name, value, null, null); }  @Override void bind(XQPreparedExpression expression, XQConnection connection, QName name, String value,
                                 String type);  }### Answer:
@Test public void shouldBindDocument() throws Exception { binder.bind(expression, connection, qName, VALUE, TYPE); verify(expression).bindDocument(qName, VALUE, null, null); }