function it_passes_the_created_subject_to_expectation(WrappedObject $wrappedObject, ExpectationFactory $expectationFactory, Expectation $expectation)
{
$expectation->match(Argument::cetera())->willReturn(true);
$wrappedObject->getClassName()->willReturn('spec\\PhpSpec\\Wrapper\\Everything');
$expectationFactory->create(Argument::cetera())->willReturn($expectation);
$this->callOnWrappedObject('shouldBeAlright');
$expectationFactory->create(Argument::any(), Argument::type('spec\\PhpSpec\\Wrapper\\Everything'), Argument::any())->shouldHaveBeenCalled();
}