To save a few imports and make syntax completion a bit nicer, the MockolateRule should provide mock(), stub() and verify().
[Rule]
public var mocks:MockolateRule = new MockolateRule();
[Mock]
public var flavour:Flavour;
[Test]
public function example():void
{
mocks.mock(flavour).method("combine").args(Flavour).once();
...
mocks.verify(flavour);
}
To save a few imports and make syntax completion a bit nicer, the MockolateRule should provide
mock()
,stub()
andverify()
.