| 1 | <?php |
||
| 10 | class Zookal_Mock_Test_Model_Mocks_Mage_PaymentTest extends Zookal_Mock_Test_Model_Mocks_Mage_AbstractPHPUnitTestCase |
||
|
|
|||
| 11 | { |
||
| 12 | protected $_class = 'Zookal_Mock_Model_Mocks_Mage_Payment'; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param boolean $isAdmin |
||
| 16 | * |
||
| 17 | * @return mixed |
||
| 18 | */ |
||
| 19 | public function getInstance($isAdmin = false) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @test |
||
| 30 | */ |
||
| 31 | public function itShouldHaveAGetInfoBlockType() |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @test |
||
| 38 | */ |
||
| 39 | public function itShouldHaveAGetMethodFormBlock() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @test |
||
| 46 | */ |
||
| 47 | public function itShouldReturnTheInfoBlockTypeFrontend() |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @test |
||
| 54 | */ |
||
| 55 | public function itShouldReturnTheInfoBlockTypeBackend() |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @test |
||
| 62 | */ |
||
| 63 | public function itShouldReturnThePaymentBlockBackend() |
||
| 67 | } |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.