public function testFromRow()
 {
     $row = array('usage' => 124124124, 'created' => $this->date->format('Y-m-d H:i:s'), 'username' => 'test1', 'maximumusage' => 10245123345);
     $storage = StorageUsage::fromRow($row);
     $this->assertInstanceOf('OCA\\ocUsageCharts\\Entity\\Storage\\StorageUsage', $storage);
     $this->assertEquals(124124124, $storage->getUsage());
     $this->assertEquals($this->date, $storage->getDate());
     $this->assertEquals('test1', $storage->getUsername());
 }