*
* @param invocation
* @return transformed invocations
*/
public Collection<Invocation> transform(final Invocation invocation) {
Invocation resultInvocation = invocation;
switch (invocation.getMethodType()) {
case WRITE_START_ELEMENT:
if (!isProcessingWSTCPAssertion) {
isProcessingWSTCPAssertion = startBuffering(invocation);
}