public void ensureHasMaterialSucceeds()
        {
            Product         p  = new Product("#666", "der alte würfelt nicht", "product666.glb", PREDEFEFINED_CATEGORY, PREDEFINED_MATERIALS, PREDEFINED_MEASUREMENTS);
            ProductMaterial pm = new ProductMaterial(p, PREDEFINED_MATERIAL2, new List <Restriction>());

            Assert.True(pm.hasMaterial(PREDEFINED_MATERIAL2));
        }
        public void ensureHasMaterialFails()
        {
            Product         p  = new Product("#666", "der alte würfelt nicht", "product666.glb", PREDEFEFINED_CATEGORY, PREDEFINED_MATERIALS, PREDEFINED_MEASUREMENTS);
            ProductMaterial pm = new ProductMaterial(p, PREDEFINED_MATERIAL2);

            Assert.False(pm.hasMaterial(PREDEFINED_MATERIAL));
        }