public function testMachineTokenListNotEmpty()
{
$tokens = [['id' => '1', 'device_name' => 'Foo'], ['id' => '2', 'device_name' => 'Bar']];
$collection = new MachineTokens(['user' => $this->user]);
$this->machine_tokens->method('all')->willReturn([new MachineToken((object) $tokens[0], ['collection' => $collection]), new MachineToken((object) $tokens[1], ['collection' => $collection])]);
$this->logger->expects($this->never())->method($this->anything());
$out = $this->command->listTokens();
$this->assertInstanceOf('Consolidation\\OutputFormatters\\StructuredData\\RowsOfFields', $out);
$this->assertEquals($tokens, $out->getArrayCopy());
}