PHPSpec2\Prophet\MockProphet::beAMockOf PHP Method

beAMockOf() public method

public beAMockOf ( $classOrInterface )
    public function beAMockOf($classOrInterface)
    {
        $this->subject = $this->mocker->mock($classOrInterface);
    }