public static JsonObject getHead() {
return Fixture.getProtocolMessage().getHead();
}
public static boolean hasOperation( String target, OperationType type, String operationName ) {
TestMessage message = Fixture.getProtocolMessage();
if( type == OperationType.CREATE ) {
CreateOperation operation = message.findCreateOperation( target );
if( operation != null ) {
return true;
}
} else if( type == OperationType.CALL ) {
CallOperation operation = message.findCallOperation( target, operationName );
if( operation != null ) {
return true;
}
} else if( type == OperationType.SET ) {
SetOperation operation = findSetOperation( message, target );