public function testApiIsStopped_ReturnsStatusesArray()
{
$bus1 = $this->createBus('name1', ['isStopped']);
$bus1->expects($this->once())->method('isStopped')->will($this->returnValue(false));
$bus2 = $this->createBus('name2', ['isStopped']);
$bus2->expects($this->once())->method('isStopped')->will($this->returnValue(true));
$channel = $this->createChannel(['bus1' => $bus1, 'bus2' => $bus2]);
$this->assertSame(['bus1' => false, 'bus2' => true], $channel->isStopped());
}