delegate wont work
===

Hi I have simple delegate test, but for some reason it doest calls
I want call -(void)test from AppDelegate class via delegate

/// AppDelegate.h

    #import <Cocoa/Cocoa.h>
    @protocol AppDelegateDelegate
    @required
    -(void)test;
    @end
    @interface AppDelegate : NSObject <NSApplicationDelegate> {
        id<AppDelegateDelegate> _delegate;
    }
    @property(nonatomic, retain) id<AppDelegateDelegate> delegate;
    @end

///  AppDelegate.m

    #import "AppDelegate.h"
    @implementation AppDelegate
    @synthesize delegate = _delegate;
    -(void)awakeFromNib {
        [_delegate test];
    }
    @end

/// test.h

    #import <Foundation/Foundation.h>
    #import "AppDelegate.h"
    @interface test : NSObject <AppDelegateDelegate>
    -(void)test;
    @end

/// test.m

    #import "test.h"
    @implementation test
    -(void)test {
        //this should be called from AppDelegate
        NSLog(@"delegate test");
    }
    @end