/** * @return void */ public function testSessionInfoCollectionIsEmpty() { $this->sessionsManager->expects($this->once())->method('getSessionsForCurrentUser')->willReturn($this->collectionMock); $this->assertInstanceOf('\\Magento\\Security\\Model\\ResourceModel\\AdminSessionInfo\\Collection', $this->block->getSessionInfoCollection()); }