1 | <?php |
||
15 | class PotatoTest extends \PHPUnit_Framework_TestCase |
||
16 | { |
||
17 | /** |
||
18 | * Tear down all mock objects |
||
19 | */ |
||
20 | public function tearDown() |
||
24 | |||
25 | /** |
||
26 | * Test that the exact tablename is returned |
||
27 | **/ |
||
28 | public function testTableName() |
||
33 | |||
34 | /** |
||
35 | * Test delete from database |
||
36 | **/ |
||
37 | public function testDestroy() |
||
42 | |||
43 | /** |
||
44 | * Test find from database |
||
45 | **/ |
||
46 | public function testFind() |
||
51 | |||
52 | /** |
||
53 | * Test that instantiated class are without attributes |
||
54 | **/ |
||
55 | public function testNewInstanceCreatesInstanceWithoutAttributes() |
||
63 | |||
64 | /** |
||
65 | * Test class can be instantiated |
||
66 | **/ |
||
67 | public function save() |
||
72 | } |
||
73 |