	@Test
	public void testGetNonLocalizedAttribute()
	{

		final ProductModel product = new ProductModel();
		product.setCode("productCode");
		final ComposedTypeModel composedType = new ComposedTypeModel();

		final MetaAttributeData metaAttribute = new MetaAttributeData();
		metaAttribute.setBaseType(FhAttributeBaseType.FLOAT);
		metaAttribute.setAttributeId("price");
		metaAttribute.setQualifier("price");

		when(typeService.getComposedTypeForClass(product.getClass())).thenReturn(composedType);
		when(Boolean.valueOf(typeService.hasAttribute(composedType, "price"))).thenReturn(Boolean.TRUE);

		when(modelService.getAttributeValue(product, "price")).thenReturn(BigDecimal.valueOf(12));

		final Collection<FhAttributeData> attributeDatas = simpleAttributeProvider.getAttribute(product, metaAttribute, null);
		assertNotNull(attributeDatas);
		assertEquals(1, attributeDatas.size());
		final FhAttributeData attributeData = attributeDatas.iterator().next();
		assertEquals("productCode", attributeData.getItemId());
		assertEquals("price", attributeData.getAttributeId());
		assertEquals(FhAttributeBaseType.FLOAT, attributeData.getBaseType());

		final Table<Optional<String>, Optional<Locale>, String> values = attributeData.getValues();
		assertNotNull(values);
		assertEquals(1, values.size());
		final String priceValue = values.get(Optional.empty(), Optional.empty());
		assertEquals("12", priceValue);
	}