public function reveal()
    {
        $delegate = $this->prophecy->reveal();
        $builder  = new MockBuilder();
        $builder->setNamespace($this->namespace)
                ->setName($this->functionName)
                ->setFunction([$delegate, MockDelegateFunctionBuilder::METHOD]);
        $mock = $builder->build();
        $mock->enable();
        return $mock;
    }