コード例 #1
0
 public function testCanGetQueryOptionsDeserializer()
 {
     $dataValueFactory = $this->getMock('Deserializers\\Deserializer');
     $askFactory = new DeserializerFactory($dataValueFactory);
     $deserializer = $askFactory->newQueryOptionsDeserializer();
     $object = array('objectType' => 'queryOptions', 'limit' => 100, 'offset' => 42, 'sort' => array('expressions' => array()));
     $this->assertDeserializerThatCanDeserializeObject($deserializer, $object);
 }