@Test
public void updateAsset() throws Exception {
registerTestAdapters();
EntityId componentId = componentStore.createComponent(testComponent()).getId();
EntityId assetId = componentStore.createAsset(componentId, testAsset(1)).getId();
TestAsset sourceAsset = testAsset(2);
Thread.sleep(1000); // ensure different modified date
TestAsset updatedAsset = componentStore.updateAsset(assetId, sourceAsset);