/**
  * A valid Facebook object but currently not supported by this library
  */
 public function testUnsupportedObjectType()
 {
     $this->setExpectedException('ChrisNoden\\Facebook\\Exception\\UnsupportedObjectException');
     $obj = ObjectFactory::create('review');
 }
 public function testFactoryMethod()
 {
     $obj = ObjectFactory::create(GraphObjectType::PAYMENT);
     $this->assertInstanceOf('ChrisNoden\\Facebook\\Graph\\Object\\Payment', $obj);
 }