private function createCommandProphecy()
    {
        $prophet = new Prophet;
        $prophecy = $prophet->prophesize()->willImplement(InlineConfigCommandInterface::class);
        $prophecy
            ->setName('foo')
            ->shouldBeCalled();
        $prophecy
            ->getConfig()
            ->willReturn(['name'=>'foo']);

        return $prophecy;
    }
private function createCommandProphecy()
    {
        $prophet = new Prophet;
        $prophecy = $prophet->prophesize()->willImplement(InlineConfigCommandInterface::class);
        $prophecy
            ->setName('foo')
            ->shouldBeCalled();
        $prophecy
            ->getConfig()
            ->willReturn(['name'=>'foo']);

        return $prophecy;
    }
private function createCommandProphecy ( ) { $ prophet = new Prophet ; $ prophecy = $ prophet -> prophesize ( ) -> willImplement ( InlineConfigCommandInterface :: class ) ; $ prophecy -> setName ( 'foo' ) -> shouldBeCalled ( ) ; $ prophecy -> getConfig ( ) -> willReturn ( [ 'name' => 'foo' ] ) ; return $ prophecy ; }
override prophecy creation

@return ObjectProphecy
override prophecy creation