public function testListAll()
 {
     $alarms = $this->_alarmMapper->findAll();
     $this->assertNotNull($alarms);
     $this->assertInstanceOf('\\Application\\Model\\Stream\\StreamResultModel', $alarms);
     $this->assertEquals(24, $alarms->getCount());
     $this->assertNotNull($alarms->getItems());
     $this->assertEquals(24, count($alarms->getItems()));
 }
 /**
  * @expectedException Application\Exceptions\NotImplementedException
  */
 public function testListAll()
 {
     $this->_mapper->findAll();
 }