if I have
function let(Foo bar)
{
$this->beConstructedWith($bar);
}
it works great, but how do I actually pass arguments to the construct? It only works if I have a construct with no arguments passed to it, and use setters after construction. Isn't there a way to construct normally?
I've tried looking this up but all examples use constructs without arguments. Thanks.