├── .gitignore ├── README.md ├── composer.json ├── composer.lock ├── phpunit.xml.dist └── src ├── ConcreteDependencies ├── Invoice.php ├── InvoicePeriod.php ├── InvoiceService.php ├── InvoiceServiceTest.php └── UnableToInvoiceClient.php ├── DifficultToRenameWithMocks ├── DependingCode.php ├── DependingCodeTest.php └── ExternalDependency.php └── InterfacedDependencies ├── FakeInvoicePortal.php ├── FakeInvoicePortalTest.php ├── FlysystemInvoicePortal.php ├── FlysystemInvoicePortalTest.php ├── Invoice.php ├── InvoicePeriod.php ├── InvoicePortal.php ├── InvoicePortalTestCase.php ├── InvoiceService.php ├── InvoiceServiceTest.php └── UnableToInvoiceClient.php /.gitignore: -------------------------------------------------------------------------------- 1 | coverage 2 | vendor 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frankdejonge/testing-without-mocking-frameworks/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frankdejonge/testing-without-mocking-frameworks/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frankdejonge/testing-without-mocking-frameworks/HEAD/composer.lock -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frankdejonge/testing-without-mocking-frameworks/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/ConcreteDependencies/Invoice.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frankdejonge/testing-without-mocking-frameworks/HEAD/src/ConcreteDependencies/Invoice.php -------------------------------------------------------------------------------- /src/ConcreteDependencies/InvoicePeriod.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frankdejonge/testing-without-mocking-frameworks/HEAD/src/ConcreteDependencies/InvoicePeriod.php -------------------------------------------------------------------------------- /src/ConcreteDependencies/InvoiceService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frankdejonge/testing-without-mocking-frameworks/HEAD/src/ConcreteDependencies/InvoiceService.php -------------------------------------------------------------------------------- /src/ConcreteDependencies/InvoiceServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frankdejonge/testing-without-mocking-frameworks/HEAD/src/ConcreteDependencies/InvoiceServiceTest.php -------------------------------------------------------------------------------- /src/ConcreteDependencies/UnableToInvoiceClient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frankdejonge/testing-without-mocking-frameworks/HEAD/src/ConcreteDependencies/UnableToInvoiceClient.php -------------------------------------------------------------------------------- /src/DifficultToRenameWithMocks/DependingCode.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frankdejonge/testing-without-mocking-frameworks/HEAD/src/DifficultToRenameWithMocks/DependingCode.php -------------------------------------------------------------------------------- /src/DifficultToRenameWithMocks/DependingCodeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frankdejonge/testing-without-mocking-frameworks/HEAD/src/DifficultToRenameWithMocks/DependingCodeTest.php -------------------------------------------------------------------------------- /src/DifficultToRenameWithMocks/ExternalDependency.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frankdejonge/testing-without-mocking-frameworks/HEAD/src/DifficultToRenameWithMocks/ExternalDependency.php -------------------------------------------------------------------------------- /src/InterfacedDependencies/FakeInvoicePortal.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frankdejonge/testing-without-mocking-frameworks/HEAD/src/InterfacedDependencies/FakeInvoicePortal.php -------------------------------------------------------------------------------- /src/InterfacedDependencies/FakeInvoicePortalTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frankdejonge/testing-without-mocking-frameworks/HEAD/src/InterfacedDependencies/FakeInvoicePortalTest.php -------------------------------------------------------------------------------- /src/InterfacedDependencies/FlysystemInvoicePortal.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frankdejonge/testing-without-mocking-frameworks/HEAD/src/InterfacedDependencies/FlysystemInvoicePortal.php -------------------------------------------------------------------------------- /src/InterfacedDependencies/FlysystemInvoicePortalTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frankdejonge/testing-without-mocking-frameworks/HEAD/src/InterfacedDependencies/FlysystemInvoicePortalTest.php -------------------------------------------------------------------------------- /src/InterfacedDependencies/Invoice.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frankdejonge/testing-without-mocking-frameworks/HEAD/src/InterfacedDependencies/Invoice.php -------------------------------------------------------------------------------- /src/InterfacedDependencies/InvoicePeriod.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frankdejonge/testing-without-mocking-frameworks/HEAD/src/InterfacedDependencies/InvoicePeriod.php -------------------------------------------------------------------------------- /src/InterfacedDependencies/InvoicePortal.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frankdejonge/testing-without-mocking-frameworks/HEAD/src/InterfacedDependencies/InvoicePortal.php -------------------------------------------------------------------------------- /src/InterfacedDependencies/InvoicePortalTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frankdejonge/testing-without-mocking-frameworks/HEAD/src/InterfacedDependencies/InvoicePortalTestCase.php -------------------------------------------------------------------------------- /src/InterfacedDependencies/InvoiceService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frankdejonge/testing-without-mocking-frameworks/HEAD/src/InterfacedDependencies/InvoiceService.php -------------------------------------------------------------------------------- /src/InterfacedDependencies/InvoiceServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frankdejonge/testing-without-mocking-frameworks/HEAD/src/InterfacedDependencies/InvoiceServiceTest.php -------------------------------------------------------------------------------- /src/InterfacedDependencies/UnableToInvoiceClient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frankdejonge/testing-without-mocking-frameworks/HEAD/src/InterfacedDependencies/UnableToInvoiceClient.php --------------------------------------------------------------------------------