Hi,
I have this class
class Action {
public function execute(subject){run(subject);}
}
And the following test
[Test]
public function has_run_been_called() {
var action:Action = nice(Action);
var subject = {};
action.execute(subject);
assertThat(action, received().method('run').once()); //this fails
}
Sadly the assert fails and I have no idea how to test this scenario.
Your help is appreciated.
Thanks
Robert
Robert
--
You received this message because you are subscribed to the Google Groups "Mockolate" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mockolate+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.