public static boolean isParentOfCreate( String type, String parentId ) {
boolean found = false;
TestMessage protocolMessage = Fixture.getProtocolMessage();
int operationCount = protocolMessage.getOperationCount();
for( int i = 0; i < operationCount; i++ ) {
Operation operation = protocolMessage.getOperation( i );
if( operation instanceof CreateOperation ) {
CreateOperation create = ( CreateOperation )operation;
if( create.getType().equals( type ) && create.getProperties().get( "parent" ).asString().equals( parentId ) ) {
found = true;
}