Example #1
0
 /**
  * RTFN
  */
 public function testMoveObject()
 {
     $result = $this->testable->move(1);
     $this->assertNotEmpty($result);
     $this->assertTrue(is_object($result));
     $this->assertInstanceOf('Kachit\\Collection\\ItemInterface', $result);
     $this->assertEquals(1, $result->getId());
     $this->assertEquals(9, $this->testable->count());
 }