drewbourne / mockolate

fake chocolate, mock objects and test spies for AS3
http://mockolate.org/
MIT License
146 stars 26 forks source link

Preparing and Creating Mockolates from interfaces? #40

Closed zd-dalibor closed 13 years ago

zd-dalibor commented 13 years ago

I tried to create Mockolate form interface with:

[Rule]
public var mocks:MockolateRule = new MockolateRule();

[Mock]
public var mockIExample:IExample;

but I got this error:

Illegal override of  IExample

where IExample is an interface.

drewbourne commented 13 years ago

Closing as I cannot reproduce it.

If this is still an issue, fee free to reopen the issue with an example project that demonstrates the issue.