* methods, does not invoke any methods on the write context, and produces the
* given statements.
*/
private void assertCreationStatements(Binding binding, String expectedStatements)
throws NoSourceNameException {
InjectorWriteContext writeContextMock = createMock(InjectorWriteContext.class);
replay(writeContextMock);
List<InjectorMethod> methods = new ArrayList<InjectorMethod>();
String actualStatements =