function its_constructor_throws_MethodProphecyException_for_final_methods($objectProphecy, ClassWithFinalMethod $subject)
{
$objectProphecy->reveal()->willReturn($subject);
$this->shouldThrow('Prophecy\\Exception\\Prophecy\\MethodProphecyException')->during('__construct', array($objectProphecy, 'finalMethod', null));
}