elliotchance / concise

✅ Concise is test framework for using plain English and minimal code, built on PHPUnit.
MIT License
45 stars 3 forks source link

Abstract methods throw exception on nice mocks #158

Closed elliotchance closed 10 years ago

elliotchance commented 10 years ago

When creating a nice mock, any abstract methods will throw the exception:

getId() does not have an associated action - consider a niceMock()?

Which isn't true, they should have the exception message explaining that they are abstract.

coveralls commented 10 years ago

Coverage Status

Coverage remained the same when pulling 65f5a002fcc40a704cc5302b4c68991d5e80cf44 on 1.3.3/158-function-for-with into d1a51bc02120629ed3d7375884b0e023cfce8341 on release/1.3.3.

coveralls commented 10 years ago

Coverage Status

Coverage remained the same when pulling 65f5a002fcc40a704cc5302b4c68991d5e80cf44 on 1.3.3/158-function-for-with into d1a51bc02120629ed3d7375884b0e023cfce8341 on release/1.3.3.

scrutinizer-notifier commented 10 years ago

The inspection completed: No new issues