}
@Test
public void testStoreSingleBinaryAsset() throws AssetNotFoundException{
Repository repository = new VFSRepository(producer.getIoService());
((VFSRepository)repository).setDescriptor(descriptor);
boolean rootFolderExists = repository.directoryExists("/");
assertTrue(rootFolderExists);
Collection<Asset> assets = repository.listAssets("/");
assertNotNull(assets);
assertEquals(0, assets.size());
AssetBuilder builder = AssetBuilderFactory.getAssetBuilder(Asset.AssetType.Byte);
builder.content("simple content".getBytes())
.type("png")
.name("test")
.location("/");
String id = repository.createAsset(builder.getAsset());
assertNotNull(id);
Asset<byte[]> asset = repository.loadAsset(id);
assertEquals("png", asset.getAssetType());
assertEquals("test", asset.getName());
assertEquals("test.png", asset.getFullName());
assertEquals("/", asset.getAssetLocation());