public function testCreateCartItemCreatesAndPopulatesMetadataObject()
 {
     $service = $this->getService();
     $mockProductUomService = $this->getMockProductUomService();
     $service->setProductUomService($mockProductUomService);
     $testItem = new \SpeckCatalog\Model\Product\Relational();
     $testItem->setName('foo');
     $return = $service->createCartItem($testItem, null, '1:EA:1');
     $meta = $return->getMetadata();
     $this->assertInstanceOf('\\SpeckCatalog\\Model\\CartItemMeta', $meta);
     $this->assertEquals($meta->getUom(), '1:EA:1');
 }