Skip to content

Commit

Permalink
Adding TOC to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
padraic committed Feb 9, 2014
1 parent 5af82ce commit 0496bce
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,42 @@
**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*

- [Mockery](#mockery)
- [Mock Objects](#mock-objects)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Upgrading](#upgrading)
- [Simple Example](#simple-example)
- [PHPUnit Integration](#phpunit-integration)
- [Warning: PHPUnit running tests in separate processes](#warning-phpunit-running-tests-in-separate-processes)
- [Quick Reference](#quick-reference)
- [Behaviour Modifiers](#behaviour-modifiers)
- [Expectation Declarations](#expectation-declarations)
- [Argument Validation](#argument-validation)
- [Creating Partial Mocks](#creating-partial-mocks)
- [Traditional Partial Mock](#traditional-partial-mock)
- [Passive Partial Mock](#passive-partial-mock)
- [Proxied Partial Mock](#proxied-partial-mock)
- [Special Internal Cases](#special-internal-cases)
- [Detecting Mock Objects](#detecting-mock-objects)
- [Default Mock Expectations](#default-mock-expectations)
- [Mocking Public Properties](#mocking-public-properties)
- [Mocking Public Static Methods](#mocking-public-static-methods)
- [Generating Mock Objects Upon Instantiation (Instance Mocking)](#generating-mock-objects-upon-instantiation-instance-mocking)
- [Preserving Pass-By-Reference Method Parameter Behaviour](#preserving-pass-by-reference-method-parameter-behaviour)
- [Mocking Demeter Chains And Fluent Interfaces](#mocking-demeter-chains-and-fluent-interfaces)
- [Mockery Exceptions](#mockery-exceptions)
- [\Mockery\Exception\InvalidCountException](#mockeryexceptioninvalidcountexception)
- [\Mockery\Exception\InvalidOrderException](#mockeryexceptioninvalidorderexception)
- [\Mockery\Exception\NoMatchingExpectationException](#mockeryexceptionnomatchingexpectationexception)
- [Mock Object Recording](#mock-object-recording)
- [Dealing with Final Classes/Methods](#dealing-with-final-classesmethods)
- [Mockery Global Configuration](#mockery-global-configuration)
- [Reserved Method Names](#reserved-method-names)
- [PHP Magic Methods](#php-magic-methods)
- [Gotchas!](#gotchas)
- [Quick Examples](#quick-examples)
- [Contributing](#contributing)

Mockery
========
[![Latest Stable Version](https://poser.pugx.org/mockery/mockery/v/stable.png)](https://packagist.org/packages/mockery/mockery) [![Total Downloads](https://poser.pugx.org/mockery/mockery/downloads.png)](https://packagist.org/packages/mockery/mockery)
Expand Down

0 comments on commit 0496bce

Please sign in to comment.