@Test
public void testColorTransformedToTextureUri() throws Exception {
AssetUri assetUri = TextureUtil.getTextureUriForColor(Color.RED);
assertEquals(AssetType.TEXTURE, assetUri.getAssetType());
assertEquals(TerasologyConstants.ENGINE_MODULE, assetUri.getModuleName());
assertEquals(new Name("color.ff0000ff"), assetUri.getAssetName());
int red = 0x12;
int green = 0x3;
int blue = 0xc4;
int alpha = 0xe;
assetUri = TextureUtil.getTextureUriForColor(new Color(red, green, blue, alpha));
assertEquals(AssetType.TEXTURE, assetUri.getAssetType());
assertEquals(TerasologyConstants.ENGINE_MODULE, assetUri.getModuleName());
assertEquals(new Name("color.1203c40e"), assetUri.getAssetName());
}