public function testDelete() { $car = new Mock\SDBCar(); $car->brand = 'Ford'; $car->colour = 'Blue'; $car->doors = 8; $this->assertTrue($car->save(), "Unable to save car for deletion!"); $car->delete(); $this->assertFalse(Mock\SDBCar::Find($car->id()), "Found car when it should not exist"); }