src/Mock/Builder/MockBuilder.php
public function full(): Mock
    {
        $this->mock = $this->factory->createFullMock($this->build());

        return $this->mock;
    }
public function full(): Mock
    {
        $this->mock = $this->factory->createFullMock($this->build());

        return $this->mock;
    }
public function full ( ) : Mock { $ this -> mock = $ this -> factory -> createFullMock ( $ this -> build ( ) ) ; return $ this -> mock ; }
Create a new full mock.

This method will always create a new mock, and will replace the current
mock.

Calling this method will finalize the mock builder.

@return Mock          The mock instance.
@throws MockException If the mock generation fails.
Create a new full mock .