public function cancelShouldCallCancellerWithResolverArguments()
{
$mock = $this->createCallableMock();
$mock->expects($this->once())->method('__invoke')->with($this->isType('callable'), $this->isType('callable'));
$adapter = $this->getPromiseTestAdapter($mock);
$adapter->promise()->cancel();
}