コード例 #1
0
 public function testCreateSlotWithEmptyDiff()
 {
     $this->cache->expects($this->never())->method('save');
     $this->compositePropertyTableDiffIterator->expects($this->once())->method('getOrderedDiffByTable')->will($this->returnValue(array()));
     $instance = new TransitionalDiffStore($this->cache);
     $this->assertNull($instance->createSlotFrom($this->compositePropertyTableDiffIterator));
 }