public function resolveShouldForwardValueWhenCallbackIsNull()
{
$adapter = $this->getPromiseTestAdapter();
$mock = $this->createCallableMock();
$mock->expects($this->once())->method('__invoke')->with($this->identicalTo(1));
$adapter->promise()->then(null, $this->expectCallableNever())->then($mock, $this->expectCallableNever());
$adapter->resolve(1);
}