assertNotNull($obj); $this->assertNotNull($obj->getOp()); $this->assertNotNull($obj->getPath()); $this->assertNotNull($obj->getValue()); $this->assertNotNull($obj->getFrom()); $this->assertEquals(self::getJson(), $obj->toJson()); return $obj; } /** * @depends testSerializationDeserialization * @param Patch $obj */ public function testGetters($obj) { $this->assertEquals($obj->getOp(), "TestSample"); $this->assertEquals($obj->getPath(), "TestSample"); $this->assertEquals($obj->getValue(), "TestSample"); $this->assertEquals($obj->getFrom(), "TestSample"); } }